patch-2.1.101 linux/drivers/acorn/scsi/acornscsi.c
Next file: linux/drivers/acorn/scsi/cumana_1.c
Previous file: linux/drivers/acorn/scsi/Makefile
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Fri May 8 00:42:39 1998
- Orig file:
v2.1.100/linux/drivers/acorn/scsi/acornscsi.c
- Orig date:
Mon Feb 23 18:12:03 1998
diff -u --recursive --new-file v2.1.100/linux/drivers/acorn/scsi/acornscsi.c linux/drivers/acorn/scsi/acornscsi.c
@@ -2726,7 +2726,7 @@
p = string;
- p += sprintf (string, "%s at port %X irq %d v%d.%d.%d"
+ p += sprintf (string, "%s at port %lX irq %d v%d.%d.%d"
#ifdef CONFIG_SCSI_ACORNSCSI_SYNC
" SYNC"
#endif
@@ -2784,12 +2784,12 @@
host->dma.io_port, host->scsi.irq);
#endif
- p += sprintf (p, "Statistics:\n",
- "Queued commands: %-10d Issued commands: %-10d\n"
- "Done commands : %-10d Reads : %-10d\n"
- "Writes : %-10d Others : %-10d\n"
- "Disconnects : %-10d Aborts : %-10d\n"
- "Resets : %-10d\n\nLast phases:",
+ p += sprintf (p, "Statistics:\n"
+ "Queued commands: %-10u Issued commands: %-10u\n"
+ "Done commands : %-10u Reads : %-10u\n"
+ "Writes : %-10u Others : %-10u\n"
+ "Disconnects : %-10u Aborts : %-10u\n"
+ "Resets : %-10u\n\nLast phases:",
host->stats.queues, host->stats.removes,
host->stats.fins, host->stats.reads,
host->stats.writes, host->stats.miscs,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov