summaryrefslogtreecommitdiffstats
path: root/usr.sbin/i4b/isdndecode/layer3.c
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-04-26 08:40:35 +0000
committerkris <kris@FreeBSD.org>2001-04-26 08:40:35 +0000
commit87160071b6b87e996f79019f5af6d0633b727761 (patch)
tree2837cad4883dfb70a390674cace4ab2cd46c3526 /usr.sbin/i4b/isdndecode/layer3.c
parentb146fa78f3320e3f8c5e0b0b79af2c4379535ddf (diff)
downloadFreeBSD-src-87160071b6b87e996f79019f5af6d0633b727761.zip
FreeBSD-src-87160071b6b87e996f79019f5af6d0633b727761.tar.gz
Add back missing arguments to format strings.
Reviewed by: hm
Diffstat (limited to 'usr.sbin/i4b/isdndecode/layer3.c')
-rw-r--r--usr.sbin/i4b/isdndecode/layer3.c4
1 files changed, 2 insertions, 2 deletions
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++;
OpenPOWER on IntegriCloud