[Libguestfs] [PATCH libguestfs 13/23] fix daemon.h's use of NEED_ROOT-in-#define
Richard W.M. Jones
rjones at redhat.com
Wed Aug 12 17:40:00 UTC 2009
On Wed, Aug 12, 2009 at 06:52:49PM +0200, Jim Meyering wrote:
> 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
Yes, ACK.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v
More information about the Libguestfs
mailing list