From c54dd0d13f10bfeb19cb740bb3f7d96af00a9aaa Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 21 Sep 2008 07:06:04 +0000 Subject: [PATCH] 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 --- bacula/src/filed/fd_plugins.c | 4 +++- bacula/technotes-2.5 | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) 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. -- 2.39.5