mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-09 16:01:19 +01:00
FIxed printf format errors (an new one that is only detected on systems
with pointers smaller than u_longs, and 2 possibly-truncating casts in the same printf).
This commit is contained in:
parent
a7de32b2aa
commit
894e2bd49e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=39757
@ -1,6 +1,6 @@
|
||||
/**************************************************************************
|
||||
**
|
||||
** $Id: ncr.c,v 1.134 1998/09/26 14:29:59 dfr Exp $
|
||||
** $Id: ncr.c,v 1.135 1998/09/26 14:37:49 dfr Exp $
|
||||
**
|
||||
** Device driver for the NCR 53C8XX PCI-SCSI-Controller Family.
|
||||
**
|
||||
@ -1357,7 +1357,7 @@ static void ncr_attach (pcici_t tag, int unit);
|
||||
|
||||
|
||||
static char ident[] =
|
||||
"\n$Id: ncr.c,v 1.134 1998/09/26 14:29:59 dfr Exp $\n";
|
||||
"\n$Id: ncr.c,v 1.135 1998/09/26 14:37:49 dfr Exp $\n";
|
||||
|
||||
static const u_long ncr_version = NCR_VERSION * 11
|
||||
+ (u_long) sizeof (struct ncb) * 7
|
||||
@ -5807,11 +5807,11 @@ static void ncr_int_ma (ncb_p np, u_char dstat)
|
||||
};
|
||||
|
||||
if (DEBUG_FLAGS & DEBUG_PHASE) {
|
||||
printf ("OCMD=%x\nTBLP=%lx OLEN=%x OADR=%x\n",
|
||||
printf ("OCMD=%x\nTBLP=%p OLEN=%lx OADR=%lx\n",
|
||||
(unsigned) (READSCRIPT_OFF(vdsp_base, vdsp_off) >> 24),
|
||||
(u_long) tblp,
|
||||
(unsigned) olen,
|
||||
(unsigned) oadr);
|
||||
(void *) tblp,
|
||||
(u_long) olen,
|
||||
(u_long) oadr);
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user