From 7ad75da5e8cb57336380f688650547275b939c3a Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Wed, 21 Jul 2010 04:23:15 +0000 Subject: cli: fix consistent behaviour with newlines in cli_out() Signed-off-by: Anand V. Avati Signed-off-by: Anand V. Avati BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971 --- cli/src/cli-cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/src/cli-cmd.c') diff --git a/cli/src/cli-cmd.c b/cli/src/cli-cmd.c index 24c7dea0e..4ef8e86cd 100644 --- a/cli/src/cli-cmd.c +++ b/cli/src/cli-cmd.c @@ -63,13 +63,13 @@ cli_cmd_process (struct cli_state *state, int argc, char **argv) } if (!word) { - cli_out ("unrecognized word: %s (position %d)\n", + cli_out ("unrecognized word: %s (position %d)", argv[i], i); return -1; } if (!word->cbkfn) { - cli_out ("unrecognized command\n"); + cli_out ("unrecognized command"); return -1; } -- cgit