diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-20 22:26:30 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-20 22:26:30 -0400 |
| commit | f68cec764abf50b35945b907a2e005bc50c50831 (patch) | |
| tree | 4178020d116edef1a91f9a52214f9193f8a1a071 /lib/command.c | |
| parent | 97e4e08d5f2e4401852ae404c27b4deae645fa40 (diff) | |
lib: Fixup more files
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c index 9cdf0a5ff0..9ca8ea5407 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1325,7 +1325,7 @@ DEFUN (config_hostname, { struct cmd_token *word = argv[1]; - if (!isalpha((int) word->arg[0])) + if (!isalpha((int) word->arg)) { vty_out (vty, "Please specify string starting with alphabet%s", VTY_NEWLINE); return CMD_WARNING; @@ -2011,7 +2011,7 @@ DEFUN (banner_motd_file, vty_out (vty, "%s does not exist", argv[3]->arg); else if (cmd == CMD_WARNING) vty_out (vty, "%s must be in %s", - argv[0], SYSCONFDIR); + argv[0]->arg, SYSCONFDIR); return cmd; } |
