summaryrefslogtreecommitdiffstats
path: root/src/inspect.c
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-11-09 14:50:23 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-11-10 10:34:48 +0000
commitb52183b5491748d9e979d30e55db6d648b102416 (patch)
tree98fabab2e999736bafff99bc3f349c40523337bd /src/inspect.c
parentbf3b9e2e236b4dd2216200993ba39545ad5160bb (diff)
downloadlibguestfs-b52183b5491748d9e979d30e55db6d648b102416.tar.gz
libguestfs-b52183b5491748d9e979d30e55db6d648b102416.tar.xz
libguestfs-b52183b5491748d9e979d30e55db6d648b102416.zip
lib: Augeas (client side) is not needed by the library.
However it is used by the daemon.
Diffstat (limited to 'src/inspect.c')
-rw-r--r--src/inspect.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/inspect.c b/src/inspect.c
index b06c8f68..52b0b8c8 100644
--- a/src/inspect.c
+++ b/src/inspect.c
@@ -29,7 +29,6 @@
#include <pcre.h>
#include <magic.h>
#include <hivex.h>
-#include <augeas.h>
#include "c-ctype.h"
#include "ignore-value.h"
@@ -841,7 +840,7 @@ check_linux_root (guestfs_h *g, struct inspect_fs *fs)
* are mounted.
* XXX What if !feature_available (g, "augeas")?
*/
- if (guestfs_aug_init (g, "/", AUG_NO_LOAD|AUG_SAVE_NOOP) == -1)
+ if (guestfs_aug_init (g, "/", 16|32) == -1)
return -1;
/* Tell Augeas to only load /etc/fstab (thanks Raphaƫl Pinson). */