summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/gtk/tools/gregedit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/gtk/tools/gregedit.c b/source4/gtk/tools/gregedit.c
index 58e2f2ad88..3326fff6e8 100644
--- a/source4/gtk/tools/gregedit.c
+++ b/source4/gtk/tools/gregedit.c
@@ -967,9 +967,9 @@ int main(int argc, char *argv[])
{
int ret;
- registry_init();
-
lp_load();
+
+ registry_init();
setup_logging(argv[0], DEBUG_STDERR);
mem_ctx = talloc_init("gregedit");