From 57a5628abf628b6276f36da8ae1f3c15a4db4488 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Sun, 13 Apr 2008 18:27:03 +0200 Subject: [PATCH] Fix the build of eventlogadm. Guenther --- source/utils/eventlogadm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/utils/eventlogadm.c b/source/utils/eventlogadm.c index c699f96be7a..1b38a7b13b2 100644 --- a/source/utils/eventlogadm.c +++ b/source/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; } -- 2.11.4.GIT