Fix various compiler warnings (bug #322)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-09-27 02:45:37 +00:00
parent 78b6e77a95
commit 55e664cb00
9 changed files with 39 additions and 26 deletions

View File

@@ -6372,7 +6372,7 @@ static int handle_r2_no_debug(int fd, int argc, char *argv[])
return RESULT_SHOWUSAGE;
chan = atoi(argv[4]);
if ((chan < 1) || (chan > NUM_SPANS)) {
ast_cli(fd, "Invalid channel %s. Should be a number greater than 0\n");
ast_cli(fd, "Invalid channel %s. Should be a number greater than 0\n", argv[4]);
return RESULT_SUCCESS;
}
tmp = iflist;
@@ -6403,7 +6403,7 @@ static int handle_r2_debug(int fd, int argc, char *argv[])
}
chan = atoi(argv[3]);
if ((chan < 1) || (chan > NUM_SPANS)) {
ast_cli(fd, "Invalid channel %s. Should be a number greater than 0\n");
ast_cli(fd, "Invalid channel %s. Should be a number greater than 0\n", argv[3]);
return RESULT_SUCCESS;
}
tmp = iflist;