Skip to contentSkip to conversation

: Correct printf format string

PATCH New Manjeet Pawar 1 participant 1 message Jun 10, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : Correct printf format string

From: Manjeet Pawar <[email protected]>
Date: Tue, 9 Jun 2015 19:15:52 +0530
Subject: [PATCH] testcases/kernel/fs/doio/growfiles.c: Correct printf format string

This patch correct the printf format string.

---
 testcases/kernel/fs/doio/growfiles.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
testcases/kernel/fs/doio/growfiles.c +1 -1
index a656978..e3ab4b2 100644
@@ -677,7 +677,7 @@ int main(int argc, char **argv)
 				exit(1);
 			}
 			Upanic_on_error++;
-			printf("%s: Will call upanic after writes\n");
+			printf("%s%s: Will call upanic after writes\n", Progname, TagName);
 #else
 			printf
 			    ("%s%s: --P is illegal option on non-cray system\n",
Signature · 8 lines
1.7.1


------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list