summaryrefslogtreecommitdiff
path: root/source4/gtk/tools/gregedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/gtk/tools/gregedit.c')
-rw-r--r--source4/gtk/tools/gregedit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/gtk/tools/gregedit.c b/source4/gtk/tools/gregedit.c
index 8c243873ca..5dd5ec1a92 100644
--- a/source4/gtk/tools/gregedit.c
+++ b/source4/gtk/tools/gregedit.c
@@ -22,7 +22,6 @@
#include "includes.h"
#include "lib/registry/registry.h"
#include "gtk/common/gtk-smb.h"
-#include "smb_build.h"
static GtkTreeStore *store_keys;
static GtkListStore *store_vals;
@@ -964,8 +963,8 @@ int main(int argc, char *argv[])
{
int ret;
- gregedit_init_subsystems;
registry_init();
+
lp_load();
setup_logging(argv[0], DEBUG_STDERR);