diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-09 12:26:00 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-09 12:26:00 +0000 |
commit | 9b4f2eba5745255b999861fd7106c25a2918d879 (patch) | |
tree | feca1fa50b5cba80e441d1137d2af779bf99d986 /sys/dev/fdc | |
parent | e443efbf8dd099504508fd467848ae5ca57c5a78 (diff) | |
download | FreeBSD-src-9b4f2eba5745255b999861fd7106c25a2918d879.zip FreeBSD-src-9b4f2eba5745255b999861fd7106c25a2918d879.tar.gz |
Fix -Wformat warnings, still need to do something about %b and pointer
type args.
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r-- | sys/dev/fdc/fdc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index 86bcc55..49d7fdc 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -43,7 +43,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.58 1995/04/20 03:17:44 julian Exp $ + * $Id: fd.c,v 1.59 1995/05/06 19:34:25 joerg Exp $ * */ @@ -693,7 +693,7 @@ fdattach(struct isa_device *dev) fd->fdc = fdc; fd->fdsu = fdsu; fd->options = 0; - printf("fd%d: ", fdsu, fdu); + printf("fd%d: ", fdu); fd_registerdev(fdcu, fdu); switch (fdt) { @@ -1417,7 +1417,7 @@ fdstate(fdcu_t fdcu, fdc_p fdc) { printf( "fd%d: Seek to cyl %d failed; am at cyl %d (ST0 = 0x%x)\n", - fdu, descyl, cyl, st0, NE7_ST0BITS); + fdu, descyl, cyl, st0); return(retrier(fdcu)); } } |