diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-24 17:47:56 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-24 17:47:56 +0200 |
commit | 0939f2ebd25a0f9905d0c50276f796497a57fa93 (patch) | |
tree | 7452ec08e7fde61f26353ab7ca77401743dfb2ad /coreutils/sum.c | |
parent | 4b8b37f9815892a1c221c0ca9f8eec623ab71866 (diff) | |
download | busybox-w32-0939f2ebd25a0f9905d0c50276f796497a57fa93.tar.gz busybox-w32-0939f2ebd25a0f9905d0c50276f796497a57fa93.tar.bz2 busybox-w32-0939f2ebd25a0f9905d0c50276f796497a57fa93.zip |
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.c | 2 |
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) | |||
41 | if (!bytes_read && !r) | 41 | if (!bytes_read && !r) |
42 | /* no error */ | 42 | /* no error */ |
43 | break; | 43 | break; |
44 | bb_perror_msg(file); | 44 | bb_simple_perror_msg(file); |
45 | return 0; | 45 | return 0; |
46 | } | 46 | } |
47 | 47 | ||