git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22e531b
)
daemon: Fix return value from aug_defnode.
author
Richard Jones
<rjones@redhat.com>
Tue, 24 Nov 2009 16:00:23 +0000
(16:00 +0000)
committer
Richard Jones
<rjones@redhat.com>
Tue, 24 Nov 2009 16:01:11 +0000
(16:01 +0000)
Bug fix - the return value from this function was wrong
in the no-Augeas case.
daemon/augeas.c
patch
|
blob
|
history
diff --git
a/daemon/augeas.c
b/daemon/augeas.c
index
be53d29
..
de325de
100644
(file)
--- 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
}