From faeb75e1047e0afd184a1ea807563d3331e36ecd Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sat, 24 Oct 2009 11:56:27 +0200 Subject: [PATCH] update tools with lmgr --- bacula/src/stored/bcopy.c | 1 + bacula/src/tools/testfind.c | 1 + bacula/src/tools/testls.c | 1 + 3 files changed, 3 insertions(+) diff --git a/bacula/src/stored/bcopy.c b/bacula/src/stored/bcopy.c index c249c6e136..5467397f79 100644 --- a/bacula/src/stored/bcopy.c +++ b/bacula/src/stored/bcopy.c @@ -102,6 +102,7 @@ int main (int argc, char *argv[]) init_stack_dump(); my_name_is(argc, argv, "bcopy"); + lmgr_init_thread(); init_msg(NULL, NULL); while ((ch = getopt(argc, argv, "b:c:d:i:o:pvw:?")) != -1) { diff --git a/bacula/src/tools/testfind.c b/bacula/src/tools/testfind.c index 5df537689c..35cccba2b0 100644 --- a/bacula/src/tools/testfind.c +++ b/bacula/src/tools/testfind.c @@ -99,6 +99,7 @@ main (int argc, char *const *argv) setlocale(LC_ALL, ""); bindtextdomain("bacula", LOCALEDIR); textdomain("bacula"); + lmgr_init_thread(); while ((ch = getopt(argc, argv, "ac:d:f:?")) != -1) { switch (ch) { diff --git a/bacula/src/tools/testls.c b/bacula/src/tools/testls.c index c2765509ba..e9751e596e 100644 --- a/bacula/src/tools/testls.c +++ b/bacula/src/tools/testls.c @@ -88,6 +88,7 @@ main (int argc, char *const *argv) setlocale(LC_ALL, ""); bindtextdomain("bacula", LOCALEDIR); textdomain("bacula"); + lmgr_init_thread(); while ((ch = getopt(argc, argv, "ad:e:i:?")) != -1) { switch (ch) { -- 2.39.5