summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-01-03 16:46:26 +0100
committerGünther Deschner <gd@samba.org>2008-01-03 18:15:28 +0100
commit192700bd08ba893cad9fb38f80231ad7cf9eb89f (patch)
treea015e0b73a8b062682d8806ce2eb9d28d93f085c
parentbe88a6738823e3a19c4e935dd970ab4c078ceaee (diff)
downloadsamba-192700bd08ba893cad9fb38f80231ad7cf9eb89f.tar.gz
samba-192700bd08ba893cad9fb38f80231ad7cf9eb89f.tar.bz2
samba-192700bd08ba893cad9fb38f80231ad7cf9eb89f.zip
Use different error code for libnet_conf initialization failure.
Guenther (This used to be commit 65537eae842065a1dd68d8e532e61502b61e1dbe)
-rw-r--r--source3/libnet/libnet_conf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index 665261723b..c8e55a70b2 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -68,8 +68,7 @@ static WERROR libnet_conf_reg_initialize(void)
}
if (!registry_init_regdb()) {
- /* proper error code? */
- werr = WERR_GENERAL_FAILURE;
+ werr = WERR_REG_IO_FAILURE;
goto done;
}