summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/trap.c
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-08-03 10:47:56 +0000
committertg <tg@FreeBSD.org>2001-08-03 10:47:56 +0000
commit35c464f8db5c9063cd84d117cfee4f41f3a34d7d (patch)
treedbd198ff9f3b1109120093a7b905cdf730a13435 /usr.bin/doscmd/trap.c
parent0f2b8ea245e81d2c129d6319196108b8586bed63 (diff)
downloadFreeBSD-src-35c464f8db5c9063cd84d117cfee4f41f3a34d7d.zip
FreeBSD-src-35c464f8db5c9063cd84d117cfee4f41f3a34d7d.tar.gz
Fix warnings from `-Wmissing-prototypes'. Staticize.
Diffstat (limited to 'usr.bin/doscmd/trap.c')
-rw-r--r--usr.bin/doscmd/trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/doscmd/trap.c b/usr.bin/doscmd/trap.c
index dcdfcd4..678d22d 100644
--- a/usr.bin/doscmd/trap.c
+++ b/usr.bin/doscmd/trap.c
@@ -77,7 +77,7 @@ fake_int(regcontext_t *REGS, int intnum)
}
/* user_int: */
- debug(D_TRAPS,
+ debug(D_TRAPS | intnum,
"INT %02x:%02x [%04lx:%04lx] %04x %04x %04x %04x from %04x:%04x\n",
intnum, R_AH, ivec[intnum] >> 16, ivec[intnum] & 0xffff,
R_AX, R_BX, R_CX, R_DX, R_CS, R_IP);
OpenPOWER on IntegriCloud