summaryrefslogtreecommitdiffstats
path: root/daemon/augeas.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/augeas.c')
-rw-r--r--daemon/augeas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/augeas.c b/daemon/augeas.c
index 79d41a46..45f86cf9 100644
--- a/daemon/augeas.c
+++ b/daemon/augeas.c
@@ -55,7 +55,7 @@ do_aug_init (char *root, int flags)
char *buf;
NEED_ROOT (-1);
- ABS_PATH (root, -1);
+ ABS_PATH (root, return -1);
if (aug) {
aug_close (aug);
@@ -350,7 +350,7 @@ do_aug_ls (char *path)
NEED_AUG (NULL);
- ABS_PATH (path, NULL);
+ ABS_PATH (path, return NULL);
len = strlen (path);