Make ncr.c compile again (PRINT_ADDR() had been patched

into the middle of a printf() by a buggy diff ...).

Submitted by:	rgrimes
This commit is contained in:
Stefan Eßer 1995-03-16 13:02:40 +00:00
parent 544eee1a54
commit f37ec55185

View File

@ -1,6 +1,6 @@
/**************************************************************************
**
** $Id: ncr.c,v 1.29 1995/03/03 16:44:33 se Exp $
** $Id: ncr.c,v 1.30 1995/03/15 18:15:32 se Exp $
**
** Device driver for the NCR 53C810 PCI-SCSI-Controller.
**
@ -1254,7 +1254,7 @@ static void ncr_attach (pcici_t tag, int unit);
static char ident[] =
"\n$Id: ncr.c,v 1.29 1995/03/03 16:44:33 se Exp $\n";
"\n$Id: ncr.c,v 1.30 1995/03/15 18:15:32 se Exp $\n";
u_long ncr_version = NCR_VERSION
+ (u_long) sizeof (struct ncb)
@ -5440,8 +5440,8 @@ static void ncr_int_ma (ncb_p np)
newcmd[3] = nxtdsp;
if (DEBUG_FLAGS & DEBUG_PHASE) {
PRINT_ADDR(cp->xfer);
printf ("newcmd[%d] %x %x %x %x.\n",
PRINT_ADDR(cp->xfer);
newcmd - cp->patch,
(unsigned)newcmd[0],
(unsigned)newcmd[1],