From 0939f2ebd25a0f9905d0c50276f796497a57fa93 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 24 Oct 2009 17:47:56 +0200 Subject: fix up potential printf's with unsafe format strings Signed-off-by: Denys Vlasenko --- coreutils/sum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/sum.c') diff --git a/coreutils/sum.c b/coreutils/sum.c index 60f3b30..35e89a6 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; } -- cgit v1.1