From: Marco van Wieringen Date: Tue, 10 Feb 2009 13:57:40 +0000 (+0000) Subject: Small fix for 2 typos introduced in one of the last patches. X-Git-Tag: Release-3.0.0~248 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=70119d16f294435cfd8fa1e72722443f94f199fb;p=bacula%2Fbacula Small fix for 2 typos introduced in one of the last patches. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8435 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/dird/ua_tree.c b/bacula/src/dird/ua_tree.c index f1b056553b..d5580ce313 100644 --- a/bacula/src/dird/ua_tree.c +++ b/bacula/src/dird/ua_tree.c @@ -129,7 +129,7 @@ bool user_select_files_from_tree(TREE_CTX *tree) if (ua->api) user->signal(BNET_CMD_BEGIN); parse_args_only(ua->cmd, &ua->args, &ua->argc, ua->argk, ua->argv, MAX_CMD_ARGS); if (ua->argc == 0) { - ua->warning_msg(_("Invalid command \"%s\". Enter \"done\" to exit.\n") + ua->warning_msg(_("Invalid command \"%s\". Enter \"done\" to exit.\n"), ua->cmd); if (ua->api) user->signal(BNET_CMD_FAILED); continue; } @@ -139,13 +139,12 @@ bool user_select_files_from_tree(TREE_CTX *tree) stat = false; for (i=0; iargk[0], _(commands[i].key), len) == 0) { - ua->cmd); stat = (*commands[i].func)(ua, tree); /* go execute command */ found = 1; break; } if (!found) { - ua->warning_msg(_("Invalid command \"%s\". Enter \"done\" to exit.\n") + ua->warning_msg(_("Invalid command \"%s\". Enter \"done\" to exit.\n"), ua->cmd); if (ua->api) user->signal(BNET_CMD_FAILED); continue; }