summaryrefslogtreecommitdiffstats
path: root/daemon/fallocate.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/fallocate.c')
-rw-r--r--daemon/fallocate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/fallocate.c b/daemon/fallocate.c
index 47e84c69..f61c496e 100644
--- a/daemon/fallocate.c
+++ b/daemon/fallocate.c
@@ -33,7 +33,7 @@ do_fallocate (char *path, int len)
int fd, r;
NEED_ROOT (-1);
- ABS_PATH (path, -1);
+ ABS_PATH (path, return -1);
CHROOT_IN;
fd = open (path, O_WRONLY | O_CREAT | O_TRUNC | O_NOCTTY, 0666);