mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
fix daemon.h's use of NEED_ROOT-in-#define
This commit is contained in:
@@ -176,7 +176,7 @@ extern void reply (xdrproc_t xdrp, char *ret);
|
||||
if (strncmp ((path), "/dev/", 5) == 0) \
|
||||
RESOLVE_DEVICE ((path), fail_stmt); \
|
||||
else { \
|
||||
NEED_ROOT (return fail_stmt); \
|
||||
NEED_ROOT (fail_stmt); \
|
||||
ABS_PATH ((path),fail_stmt); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
Reference in New Issue
Block a user