diff options
author | Richard Jones <rjones@redhat.com> | 2009-11-24 16:00:23 +0000 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-11-24 16:01:11 +0000 |
commit | 6b2c7a23b6c2d81c9e1825e8eb88ab446f63bf94 (patch) | |
tree | 3fcfa8d334d9e376881f9b88126209099c439f02 | |
parent | 22e531bc459309d9a871a845cfacd1396ff5b7e4 (diff) | |
download | libguestfs-6b2c7a23b6c2d81c9e1825e8eb88ab446f63bf94.tar.gz libguestfs-6b2c7a23b6c2d81c9e1825e8eb88ab446f63bf94.tar.xz libguestfs-6b2c7a23b6c2d81c9e1825e8eb88ab446f63bf94.zip |
daemon: Fix return value from aug_defnode.
Bug fix - the return value from this function was wrong
in the no-Augeas case.
-rw-r--r-- | daemon/augeas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/augeas.c b/daemon/augeas.c index be53d294..de325ded 100644 --- a/daemon/augeas.c +++ b/daemon/augeas.c @@ -143,7 +143,7 @@ do_aug_defnode (const char *name, const char *expr, const char *val) r.b = created; return &r; #else - NOT_AVAILABLE (-1); + NOT_AVAILABLE (NULL); #endif } |