diff options
author | Günther Deschner <gd@samba.org> | 2008-04-13 18:27:03 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-04-13 18:28:24 +0200 |
commit | 1c7e4e8a2a4e8a3119542b3c9975c9034f5ce870 (patch) | |
tree | fcd9c66b9403a5293a413fd6989e38c9d7895eeb | |
parent | de013be0b6875e3febc526ecc6c8a67dfc8876cb (diff) | |
download | samba-1c7e4e8a2a4e8a3119542b3c9975c9034f5ce870.tar.gz samba-1c7e4e8a2a4e8a3119542b3c9975c9034f5ce870.tar.bz2 samba-1c7e4e8a2a4e8a3119542b3c9975c9034f5ce870.zip |
Fix the build of eventlogadm.
Guenther
(This used to be commit 57a5628abf628b6276f36da8ae1f3c15a4db4488)
-rw-r--r-- | source3/utils/eventlogadm.c | 2 |
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; } |