From: Richard Jones Date: Tue, 24 Nov 2009 16:00:23 +0000 (+0000) Subject: daemon: Fix return value from aug_defnode. X-Git-Tag: 1.0.80~62 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=6b2c7a23b6c2d81c9e1825e8eb88ab446f63bf94;p=libguestfs.git daemon: Fix return value from aug_defnode. Bug fix - the return value from this function was wrong in the no-Augeas case. --- diff --git a/daemon/augeas.c b/daemon/augeas.c index be53d29..de325de 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 }