summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Ionescu-Idbohrn2013-07-03 19:03:37 +0200
committerBernhard Reutner-Fischer2013-07-04 11:33:42 +0200
commit4f9fc1e5f5897dd2d143fa837f9288d55cf57f51 (patch)
tree330f3837d13dd2c0504b1b1c808e4be93b3da212
parent6651e4260955d159e6a4f794d0a69c1b3f8e670c (diff)
downloadbusybox-4f9fc1e5f5897dd2d143fa837f9288d55cf57f51.zip
busybox-4f9fc1e5f5897dd2d143fa837f9288d55cf57f51.tar.gz
foo*sum: Correct syntax error
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>
-rw-r--r--coreutils/md5_sha1_sum.c2
1 files changed, 1 insertions, 1 deletions
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);