[PATCH] Correct syntax error.

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Wed Jul 3 17:03:37 UTC 2013


coreutils/md5_sha1_sum.c:156:3: error: expected '}' before 'else'

Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com>
---
 coreutils/md5_sha1_sum.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
1.8.3.2


More information about the busybox mailing list