foo*sum: Correct syntax error
authorCristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Wed, 3 Jul 2013 17:03:37 +0000 (19:03 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 4 Jul 2013 09:33:42 +0000 (11:33 +0200)
coreutils/md5_sha1_sum.c:156:3: error: expected '}' before 'else'

Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
coreutils/md5_sha1_sum.c

index b23c6c0..1a5342e 100644 (file)
@@ -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);