summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/xms.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/xms.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/xms.c')
-rw-r--r--usr.bin/doscmd/xms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/doscmd/xms.c b/usr.bin/doscmd/xms.c
index c2eb0d8..24a4257 100644
--- a/usr.bin/doscmd/xms.c
+++ b/usr.bin/doscmd/xms.c
@@ -810,7 +810,7 @@ xms_entry(regcontext_t *REGS)
}
}
memmove((void *)dstptr, (void *)srcptr, n);
- debug(D_XMS, "Moved from %08x to %08x, %04x bytes\n",
+ debug(D_XMS, "Moved from %08lx to %08lx, %04x bytes\n",
srcptr, dstptr, n);
R_AX = 0x1;
R_BL = XMS_SUCCESS;
OpenPOWER on IntegriCloud