From 6b2c7a23b6c2d81c9e1825e8eb88ab446f63bf94 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Tue, 24 Nov 2009 16:00:23 +0000 Subject: [PATCH] daemon: Fix return value from aug_defnode. Bug fix - the return value from this function was wrong in the no-Augeas case. --- daemon/augeas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 1.8.3.1