summaryrefslogtreecommitdiffstats
path: root/daemon/wc.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/wc.c')
-rw-r--r--daemon/wc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/wc.c b/daemon/wc.c
index 4878b57e..0917eb9b 100644
--- a/daemon/wc.c
+++ b/daemon/wc.c
@@ -35,7 +35,7 @@ wc (char *flag, char *path)
int r;
NEED_ROOT (-1);
- ABS_PATH (path, -1);
+ ABS_PATH (path, return -1);
/* Make the path relative to /sysroot. */
buf = sysroot_path (path);