manually adjust ABS_PATH uses for new semantics

* daemon/file.c (do_cat): fix an ABS_PATH use
This commit is contained in:
Jim Meyering
2009-08-10 23:13:31 +02:00
parent 0dd6c8c844
commit 302c18e7d0

View File

@@ -74,7 +74,7 @@ do_cat (char *path)
char *buf, *buf2;
NEED_ROOT (NULL);
ABS_PATH (path,NULL);
ABS_PATH (path, return NULL);
CHROOT_IN;
fd = open (path, O_RDONLY);