diff options
Diffstat (limited to 'daemon/mknod.c')
-rw-r--r-- | daemon/mknod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/mknod.c b/daemon/mknod.c index 315ea7df..ab799cd1 100644 --- a/daemon/mknod.c +++ b/daemon/mknod.c @@ -36,7 +36,7 @@ do_mknod (int mode, int devmajor, int devminor, char *path) int r; NEED_ROOT (-1); - ABS_PATH (path, -1); + ABS_PATH (path, return -1); CHROOT_IN; r = mknod (path, mode, makedev (devmajor, devminor)); |