From: Kern Sibbald Date: Sun, 21 Sep 2008 07:06:04 +0000 (+0000) Subject: Fix compile errors in filed/fd_plugin.c. X-Git-Tag: Release-7.0.0~4113 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4f14a4521fc5347a313d79fbd1fb626da347263a;p=bacula%2Fbacula Fix compile errors in filed/fd_plugin.c. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7616 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/filed/fd_plugins.c b/bacula/src/filed/fd_plugins.c index 88bcddab30..d193027be1 100644 --- a/bacula/src/filed/fd_plugins.c +++ b/bacula/src/filed/fd_plugins.c @@ -361,6 +361,8 @@ bool plugin_set_attributes(JCR *jcr, ATTR *attr, BFILE *ofd) void load_fd_plugins(const char *plugin_dir) { + Plugin *plugin; + if (!plugin_dir) { return; } @@ -375,7 +377,7 @@ void load_fd_plugins(const char *plugin_dir) plugin_bwrite = my_plugin_bwrite; plugin_blseek = my_plugin_blseek; foreach_alist(plugin, plugin_list) { - Jmsg(NULL, M_INFO, 0, _("Loaded plugin: %s\n", plugin->file)); + Jmsg(NULL, M_INFO, 0, _("Loaded plugin: %s\n"), plugin->file); } } diff --git a/bacula/technotes-2.5 b/bacula/technotes-2.5 index 689feb9cfa..2f99b5093e 100644 --- a/bacula/technotes-2.5 +++ b/bacula/technotes-2.5 @@ -18,6 +18,8 @@ dbdriver remove reader/writer in FOPTS???? General: +21Sep08 +kes Fix compile errors in filed/fd_plugin.c. 20Sep08 kes Remove all double quotes from SQLite creating script and replace by single quotes as suggested by John Huttley.