From: Tilghman Lesher Date: Thu, 14 Sep 2006 22:16:31 +0000 (+0000) Subject: Error message references wrong argument (Issue 7951) X-Git-Tag: 1.2.13~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1df9da9fefa50fc1a58ed6c073c66cfc17b1a3db;p=thirdparty%2Fasterisk.git Error message references wrong argument (Issue 7951) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42946 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index a661a84d89..69177a9819 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -9329,7 +9329,7 @@ static int handle_pri_show_span(int fd, int argc, char *argv[]) return RESULT_SHOWUSAGE; span = atoi(argv[3]); if ((span < 1) || (span > NUM_SPANS)) { - ast_cli(fd, "Invalid span %s. Should be a number %d to %d\n", argv[4], 1, NUM_SPANS); + ast_cli(fd, "Invalid span '%s'. Should be a number from %d to %d\n", argv[3], 1, NUM_SPANS); return RESULT_SUCCESS; } if (!pris[span-1].pri) {