summaryrefslogtreecommitdiffstats
path: root/daemon/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/file.c')
-rw-r--r--daemon/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/file.c b/daemon/file.c
index cd477e5e..d2ada997 100644
--- a/daemon/file.c
+++ b/daemon/file.c
@@ -391,7 +391,7 @@ do_file (char *path)
char *buf;
int len;
- NEED_ROOT_OR_IS_DEVICE (path, NULL);
+ NEED_ROOT_OR_IS_DEVICE (path, return NULL);
if (strncmp (path, "/dev/", 5) == 0)
buf = (char *) path;