summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-13 18:27:03 +0200
committerGünther Deschner <gd@samba.org>2008-04-13 18:28:24 +0200
commit1c7e4e8a2a4e8a3119542b3c9975c9034f5ce870 (patch)
treefcd9c66b9403a5293a413fd6989e38c9d7895eeb /source3/utils
parentde013be0b6875e3febc526ecc6c8a67dfc8876cb (diff)
downloadsamba-1c7e4e8a2a4e8a3119542b3c9975c9034f5ce870.tar.gz
samba-1c7e4e8a2a4e8a3119542b3c9975c9034f5ce870.tar.bz2
samba-1c7e4e8a2a4e8a3119542b3c9975c9034f5ce870.zip
Fix the build of eventlogadm.
Guenther (This used to be commit 57a5628abf628b6276f36da8ae1f3c15a4db4488)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/eventlogadm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/eventlogadm.c b/source3/utils/eventlogadm.c
index c699f96be7..1b38a7b13b 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;
}