From 1c7e4e8a2a4e8a3119542b3c9975c9034f5ce870 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sun, 13 Apr 2008 18:27:03 +0200 Subject: Fix the build of eventlogadm. Guenther (This used to be commit 57a5628abf628b6276f36da8ae1f3c15a4db4488) --- source3/utils/eventlogadm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils/eventlogadm.c') diff --git a/source3/utils/eventlogadm.c b/source3/utils/eventlogadm.c index c699f96be7a..1b38a7b13b2 100644 --- a/source3/utils/eventlogadm.c +++ b/source3/utils/eventlogadm.c @@ -68,7 +68,7 @@ static int DoAddSourceCommand( int argc, char **argv, bool debugflag, char *exen return -1; } /* must open the registry before we access it */ - if ( !regdb_init( ) ) { + if (!W_ERROR_IS_OK(regdb_init())) { printf( "Can't open the registry.\n" ); return -1; } -- cgit