aboutsummaryrefslogtreecommitdiff
path: root/coreutils/sum.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-10-24 17:47:56 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-10-24 17:47:56 +0200
commit0939f2ebd25a0f9905d0c50276f796497a57fa93 (patch)
tree7452ec08e7fde61f26353ab7ca77401743dfb2ad /coreutils/sum.c
parent4b8b37f9815892a1c221c0ca9f8eec623ab71866 (diff)
downloadbusybox-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.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)
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