From 70119d16f294435cfd8fa1e72722443f94f199fb Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Tue, 10 Feb 2009 13:57:40 +0000 Subject: [PATCH] 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 --- bacula/src/dird/ua_tree.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; } -- 2.39.5