summaryrefslogtreecommitdiffstats
path: root/daemon/realpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/realpath.c')
-rw-r--r--daemon/realpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/realpath.c b/daemon/realpath.c
index 18adc85e..c081a458 100644
--- a/daemon/realpath.c
+++ b/daemon/realpath.c
@@ -32,7 +32,7 @@ do_realpath (char *path)
{
char *ret;
- NEED_ROOT (NULL);
+ NEED_ROOT (return NULL);
ABS_PATH (path, return NULL);
CHROOT_IN;