From f68cec764abf50b35945b907a2e005bc50c50831 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 20 Sep 2016 22:26:30 -0400 Subject: lib: Fixup more files --- lib/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/command.c') 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; } -- cgit v1.2.3