[Libguestfs] [PATCH libguestfs 13/23] fix daemon.h's use of NEED_ROOT-in-#define

Jim Meyering jim at meyering.net
Wed Aug 12 16:52:49 UTC 2009


From: Jim Meyering <meyering at redhat.com>

---
 daemon/daemon.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/daemon/daemon.h b/daemon/daemon.h
index ee71fb6..cbcab63 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)
-- 
1.6.4.337.g5420e




More information about the Libguestfs mailing list