diff for duplicates of <4EAFEBBE.3070604@redhat.com> diff --git a/a/1.txt b/N1/1.txt index 3c74fed..8d3fa75 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -20,7 +20,7 @@ Em 01-11-2011 10:32, walter harms escreveu: >> break; >> prv = limit; >> } ->> + if (n_tads = MAX_TAD) { +>> + if (n_tads == MAX_TAD) { >> + sprintf(msg, "Could not discover the memory channel"); > > why the sprintf() ? can you not simply: diff --git a/a/content_digest b/N1/content_digest index fdbb6e9..26af302 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\04EAFE6DF.8030403@bfs.de\0" "From\0Mauro Carvalho Chehab <mchehab@redhat.com>\0" "Subject\0Re: [patch] edac: sb_edac: add sanity check to silence static checker\0" - "Date\0Tue, 01 Nov 2011 12:53:18 +0000\0" + "Date\0Tue, 01 Nov 2011 10:53:18 -0200\0" "To\0wharms@bfs.de\0" "Cc\0Dan Carpenter <dan.carpenter@oracle.com>" Mark A. Grondona <mgrondona@llnl.gov> @@ -32,7 +32,7 @@ ">> \t\t\tbreak;\n" ">> \t\tprv = limit;\n" ">> \t}\n" - ">> +\tif (n_tads = MAX_TAD) {\n" + ">> +\tif (n_tads == MAX_TAD) {\n" ">> +\t\tsprintf(msg, \"Could not discover the memory channel\");\n" "> \n" "> why the sprintf() ? can you not simply:\n" @@ -54,4 +54,4 @@ ">> \tsck_way = TAD_SOCK(reg) + 1;\n" ">> \t/*" -33ff098fc9f38f2b644ee17492dac8ab9e1bcbcbde4646f0e7d8be50184baa6d +08cc9864c839cbb0c00ba2da5ad4dfe99f4ab92eb873d6e65fa9d713e70d21e1
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.