summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/int.c
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-07-31 11:27:48 +0000
committertg <tg@FreeBSD.org>2001-07-31 11:27:48 +0000
commit06710de6d1a79e84c2ff09b30a5d0aa80612acd1 (patch)
tree40c071f49e004d89c5bc0f9840e4a56a7bda4c55 /usr.bin/doscmd/int.c
parent255f93776505f9f1353ce290ba85b0f7a4f5f29b (diff)
downloadFreeBSD-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.c4
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);
OpenPOWER on IntegriCloud