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/int.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/int.c')
-rw-r--r-- | usr.bin/doscmd/int.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/doscmd/int.c b/usr.bin/doscmd/int.c index 7657d21..d124fbd 100644 --- a/usr.bin/doscmd/int.c +++ b/usr.bin/doscmd/int.c @@ -39,7 +39,7 @@ softint(int intnum) } #endif - debug(D_TRAPS|intnum, "Int%x [%04x:%04x]\n", + debug(D_TRAPS|intnum, "INT%x [%04lx:%04lx]\n", intnum, vec >> 16, vec & 0xffff); PUSH((R_FLAGS & ~PSL_I) | (R_EFLAGS & PSL_VIF ? PSL_I : 0), REGS); @@ -87,7 +87,7 @@ hardint(int intnum) return; } - debug(D_TRAPS|intnum, "Int%x [%04x:%04x]\n", + debug(D_TRAPS|intnum, "INT%x [%04lx:%04lx]\n", intnum, vec >> 16, vec & 0xffff); PUSH((R_FLAGS & ~PSL_I) | (R_EFLAGS & PSL_VIF ? PSL_I : 0), REGS); |