summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-10 23:15:25 +0200
committerJim Meyering <meyering@redhat.com>2009-08-13 14:45:34 +0200
commita4d2e6df0bbbd7dc9e5bf400e4e35efec0a18ff0 (patch)
tree2d6f604a4c70bbbfe1f34b530e15fa2e69eaeda4 /daemon
parent6bda071b5cd8393b37653687027c4ae6c6cf3804 (diff)
downloadlibguestfs-a4d2e6df0bbbd7dc9e5bf400e4e35efec0a18ff0.tar.gz
libguestfs-a4d2e6df0bbbd7dc9e5bf400e4e35efec0a18ff0.tar.xz
libguestfs-a4d2e6df0bbbd7dc9e5bf400e4e35efec0a18ff0.zip
fix daemon.h's use of NEED_ROOT-in-#define
Diffstat (limited to 'daemon')
-rw-r--r--daemon/daemon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/daemon.h b/daemon/daemon.h
index ee71fb6d..cbcab639 100644
--- a/daemon/daemon.h
+++ b/daemon/daemon.h
@@ -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)