diff options
author | Bruce Evans <bde@FreeBSD.org> | 1998-07-11 06:35:39 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1998-07-11 06:35:39 +0000 |
commit | a838d83d8f7d1c81511f1c956e08576a3e5ba49a (patch) | |
tree | b355c75dd95ab11591fb26128e716f9cd8ce6afd /sys/dev | |
parent | 88bf59fcda26b5a80764be45618ad13350274881 (diff) | |
download | src-a838d83d8f7d1c81511f1c956e08576a3e5ba49a.tar.gz src-a838d83d8f7d1c81511f1c956e08576a3e5ba49a.zip |
Don't pretend to support ix86's with 7-bit ints by using longs just to
ensure 8-bit variables. Doing so mainly bogotified some printf formats.
Notes
Notes:
svn path=/head/; revision=37554
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/fdc/fdc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index 472fe57a99af..91973cc66c0e 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -44,7 +44,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.114 1998/06/07 19:40:39 dfr Exp $ + * $Id: fd.c,v 1.115 1998/07/04 22:30:16 julian Exp $ * */ @@ -509,7 +509,7 @@ fd_read_status(fdc_p fdc, int fdsu) { /* * XXX types are poorly chosen. Only bytes can by read - * from the hardware, but fdc_status wants u_longs and + * from the hardware, but fdc->status[] wants u_ints and * fd_in() gives ints. */ int status; @@ -1865,7 +1865,7 @@ fdstate(fdcu_t fdcu, fdc_p fdc) default: printf("fdc%d: Unexpected FD int->", fdcu); if (fd_read_status(fdc, fd->fdsu) == 0) - printf("FDC status :%lx %lx %lx %lx %lx %lx %lx ", + printf("FDC status :%x %x %x %x %x %x %x ", fdc->status[0], fdc->status[1], fdc->status[2], @@ -1943,7 +1943,7 @@ retrier(fdcu) if (fdc->flags & FDC_STAT_VALID) { printf( - " (ST0 %b ST1 %b ST2 %b cyl %ld hd %ld sec %ld)\n", + " (ST0 %b ST1 %b ST2 %b cyl %u hd %u sec %u)\n", fdc->status[0], NE7_ST0BITS, fdc->status[1], NE7_ST1BITS, fdc->status[2], NE7_ST2BITS, |