Richard W.M. Jones
2009-Nov-10 12:27 UTC
[Libguestfs] [PATCH] Fix compilation when Augeas is not present.
I guess Augeas is so popular nowadays everyone has it installed ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/ -------------- next part -------------->From 601b1ed82f99c7798ec01b6ebb1a8737b0c27bfc Mon Sep 17 00:00:00 2001From: Richard Jones <rjones at redhat.com> Date: Tue, 10 Nov 2009 12:10:05 +0000 Subject: [PATCH] Fix compilation when Augeas is not present. It would complain that NEED_AUG macro was defined but not used. --- daemon/augeas.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/daemon/augeas.c b/daemon/augeas.c index 3628219..b56012c 100644 --- a/daemon/augeas.c +++ b/daemon/augeas.c @@ -36,7 +36,6 @@ * considerably. */ static augeas *aug = NULL; -#endif #define NEED_AUG(errcode) \ do { \ @@ -46,6 +45,7 @@ static augeas *aug = NULL; } \ } \ while (0) +#endif /* We need to rewrite the root path so it is based at /sysroot. */ int -- 1.6.5.rc2