fix daemon.h's use of NEED_ROOT-in-#define

This commit is contained in:
Jim Meyering
2009-08-10 23:15:25 +02:00
parent 6bda071b5c
commit a4d2e6df0b

View File

@@ -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)