aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/buffalo-lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/firmware-utils/src/buffalo-lib.c')
-rw-r--r--tools/firmware-utils/src/buffalo-lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/firmware-utils/src/buffalo-lib.c b/tools/firmware-utils/src/buffalo-lib.c
index 29aee9f88d..add3a7e023 100644
--- a/tools/firmware-utils/src/buffalo-lib.c
+++ b/tools/firmware-utils/src/buffalo-lib.c
@@ -249,10 +249,10 @@ static uint32_t get_be32(void *data)
static int check_magic(void *magic)
{
- if (!memcmp("start", magic, ENC_MAGIC_LEN));
+ if (!memcmp("start", magic, ENC_MAGIC_LEN))
return 0;
- if (!memcmp("asar1", magic, ENC_MAGIC_LEN));
+ if (!memcmp("asar1", magic, ENC_MAGIC_LEN))
return 0;
return -1;