summaryrefslogtreecommitdiffstats
path: root/daemon/checksum.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/checksum.c')
-rw-r--r--daemon/checksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/checksum.c b/daemon/checksum.c
index d12413f5..c06a697d 100644
--- a/daemon/checksum.c
+++ b/daemon/checksum.c
@@ -36,7 +36,7 @@ do_checksum (char *csumtype, char *path)
int r;
int len;
- NEED_ROOT (NULL);
+ NEED_ROOT (return NULL);
ABS_PATH (path, return NULL);
if (strcasecmp (csumtype, "crc") == 0)