From: Jim Meyering Date: Mon, 10 Aug 2009 21:15:25 +0000 (+0200) Subject: fix daemon.h's use of NEED_ROOT-in-#define X-Git-Tag: 1.0.67~23 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=a4d2e6df0bbbd7dc9e5bf400e4e35efec0a18ff0;hp=6bda071b5cd8393b37653687027c4ae6c6cf3804 fix daemon.h's use of NEED_ROOT-in-#define --- 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)