registry: unify debug output in the registry init functions.
[kai/samba.git] / source3 / registry / reg_init_basic.c
index 9098bc4aec273cef19a71b7b66827aacba58832f..e72765bdf2f1a8947b7a344532d96deaedcd3cac 100644 (file)
@@ -30,7 +30,8 @@ bool registry_init_basic(void)
 
        werr = regdb_init();
        if (!W_ERROR_IS_OK(werr)) {
-               DEBUG(1, ("Can't open the registry: %s\n", dos_errstr(werr)));
+               DEBUG(1, ("Failed to initialize the registry: %s\n",
+                         dos_errstr(werr)));
                return false;
        }
        regdb_close();