From: Cristian Ionescu-Idbohrn Date: Wed, 3 Jul 2013 17:03:37 +0000 (+0200) Subject: foo*sum: Correct syntax error X-Git-Tag: 1.22.1~161 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f9fc1e5f5897dd2d143fa837f9288d55cf57f51;p=platform%2Fupstream%2Fbusybox.git foo*sum: Correct syntax error coreutils/md5_sha1_sum.c:156:3: error: expected '}' before 'else' Signed-off-by: Cristian Ionescu-Idbohrn Signed-off-by: Bernhard Reutner-Fischer --- diff --git a/coreutils/md5_sha1_sum.c b/coreutils/md5_sha1_sum.c index b23c6c0..1a5342e 100644 --- a/coreutils/md5_sha1_sum.c +++ b/coreutils/md5_sha1_sum.c @@ -151,7 +151,7 @@ static uint8_t *hash_file(const char *filename) update(&context, in_buf, count); } hash_value = NULL; - if (count < 0) { + if (count < 0) bb_perror_msg("can't read '%s'", filename); else /* count == 0 */ { final(&context, in_buf);