mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
manually adjust ABS_PATH uses for new semantics
* daemon/file.c (do_cat): fix an ABS_PATH use
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user