diff options
author | tg <tg@FreeBSD.org> | 2001-07-31 11:27:48 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2001-07-31 11:27:48 +0000 |
commit | 06710de6d1a79e84c2ff09b30a5d0aa80612acd1 (patch) | |
tree | 40c071f49e004d89c5bc0f9840e4a56a7bda4c55 /usr.bin/doscmd/int14.c | |
parent | 255f93776505f9f1353ce290ba85b0f7a4f5f29b (diff) | |
download | FreeBSD-src-06710de6d1a79e84c2ff09b30a5d0aa80612acd1.zip FreeBSD-src-06710de6d1a79e84c2ff09b30a5d0aa80612acd1.tar.gz |
Mark debug() and fatal() as __printflike() and fix resulting warnings.
Diffstat (limited to 'usr.bin/doscmd/int14.c')
-rw-r--r-- | usr.bin/doscmd/int14.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/doscmd/int14.c b/usr.bin/doscmd/int14.c index 0fc0fea..4b8e312 100644 --- a/usr.bin/doscmd/int14.c +++ b/usr.bin/doscmd/int14.c @@ -147,7 +147,7 @@ com_set_line(struct com_data_struct *cdsp, unsigned char port, unsigned char par struct stat stat_buf; int reg_num; - debug (D_PORT, "com_set_line: cdsp = 0x%08X, port = 0x%04x," + debug (D_PORT, "com_set_line: cdsp = %8p, port = 0x%04x," "param = 0x%04X.\n", cdsp, port, param); if (cdsp->fd > 0) { debug (D_PORT, "Re-initialize serial port com%d\n", port); |