diff options
| author | Anand Avati <avati@gluster.com> | 2010-07-21 04:23:15 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2010-07-21 03:00:26 -0700 | 
| commit | 7ad75da5e8cb57336380f688650547275b939c3a (patch) | |
| tree | 35eb77c9cccafb3929e96c04277875d25afc6214 /cli/src/cli-cmd.c | |
| parent | 066778ac7994bb574bd49281e8b225c3cd378f44 (diff) | |
cli: fix consistent behaviour with newlines in cli_out()
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 971 (dynamic volume management)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'cli/src/cli-cmd.c')
| -rw-r--r-- | cli/src/cli-cmd.c | 4 | 
1 files changed, 2 insertions, 2 deletions
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;          }  | 
