summaryrefslogtreecommitdiffstats
path: root/src/inspect.c
diff options
context:
space:
mode:
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). */