diff options
author | kris <kris@FreeBSD.org> | 2001-04-26 08:40:35 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-04-26 08:40:35 +0000 |
commit | 87160071b6b87e996f79019f5af6d0633b727761 (patch) | |
tree | 2837cad4883dfb70a390674cace4ab2cd46c3526 | |
parent | b146fa78f3320e3f8c5e0b0b79af2c4379535ddf (diff) | |
download | FreeBSD-src-87160071b6b87e996f79019f5af6d0633b727761.zip FreeBSD-src-87160071b6b87e996f79019f5af6d0633b727761.tar.gz |
Add back missing arguments to format strings.
Reviewed by: hm
-rw-r--r-- | usr.sbin/i4b/isdnd/rc_config.c | 2 | ||||
-rw-r--r-- | usr.sbin/i4b/isdndecode/layer3.c | 4 | ||||
-rw-r--r-- | usr.sbin/i4b/isdndecode/layer3_subr.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/i4b/isdnd/rc_config.c b/usr.sbin/i4b/isdnd/rc_config.c index 4a4cd71..2611743 100644 --- a/usr.sbin/i4b/isdnd/rc_config.c +++ b/usr.sbin/i4b/isdnd/rc_config.c @@ -454,7 +454,7 @@ cfg_setval(int keyword) FILE *fp; int s, l; int n; - DBGL(DL_RCCF, (log(LL_DBG, "entry %d: budget-callbacksfile = %s", yylval.str))); + DBGL(DL_RCCF, (log(LL_DBG, "entry %d: budget-callbacksfile = %s", entrycount, yylval.str))); fp = fopen(yylval.str, "r"); if(fp != NULL) { diff --git a/usr.sbin/i4b/isdndecode/layer3.c b/usr.sbin/i4b/isdndecode/layer3.c index d6d2f12..b54479e 100644 --- a/usr.sbin/i4b/isdndecode/layer3.c +++ b/usr.sbin/i4b/isdndecode/layer3.c @@ -340,9 +340,9 @@ layer3(char *pbuf, int n, int off, unsigned char *buf) sprintline(3, (pbuf+strlen(pbuf)), off+i, buf[i], 0x0f, "Length of Call Reference = 2"); i++; sprintline(3, (pbuf+strlen(pbuf)), off+i, buf[i], 0x80, "Call Reference sent %s origination side", (buf[i] & 0x80) ? "to" : "from"); - sprintline(3, (pbuf+strlen(pbuf)), off+i, buf[i], 0x7f, "Call reference = %d = %02x", (buf[i] & 0x7f)); + sprintline(3, (pbuf+strlen(pbuf)), off+i, buf[i], 0x7f, "Call reference = %d = %02x", (buf[i] & 0x7f), (buf[i] & 0x7f)); i++; - sprintline(3, (pbuf+strlen(pbuf)), off+i, buf[i], 0xff, "Call reference = %d = %02x", (buf[i])); + sprintline(3, (pbuf+strlen(pbuf)), off+i, buf[i], 0xff, "Call reference = %d = %02x", (buf[i]), (buf[i])); break; } i++; diff --git a/usr.sbin/i4b/isdndecode/layer3_subr.c b/usr.sbin/i4b/isdndecode/layer3_subr.c index d2e2c2d..6fcedd2 100644 --- a/usr.sbin/i4b/isdndecode/layer3_subr.c +++ b/usr.sbin/i4b/isdndecode/layer3_subr.c @@ -475,7 +475,7 @@ f_cause(char *pbuf, unsigned char *buf, int off) len--; for(j = 0; j < len; j++) - sprintline(3, (pbuf+strlen(pbuf)), off+i+j, buf[i+j], 0xff, "Diagnostics = %02d %s", buf[i+j]); + sprintline(3, (pbuf+strlen(pbuf)), off+i+j, buf[i+j], 0xff, "Diagnostics = %02d %s", buf[i+j], buf[i+j]); i += (len+1); |