Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-10-24 19:47:56 +0400
committerDenys Vlasenko <vda.linux@googlemail.com>2009-10-24 19:47:56 +0400
commit0939f2ebd25a0f9905d0c50276f796497a57fa93 (patch)
tree7452ec08e7fde61f26353ab7ca77401743dfb2ad /coreutils/sum.c
parent4b8b37f9815892a1c221c0ca9f8eec623ab71866 (diff)
fix up potential printf's with unsafe format strings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/sum.c')
-rw-r--r--coreutils/sum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/sum.c b/coreutils/sum.c
index 60f3b3007..35e89a6a3 100644
--- a/coreutils/sum.c
+++ b/coreutils/sum.c
@@ -41,7 +41,7 @@ static unsigned sum_file(const char *file, unsigned type)
if (!bytes_read && !r)
/* no error */
break;
- bb_perror_msg(file);
+ bb_simple_perror_msg(file);
return 0;
}