Make it compilable with 64bit daddr_t.

This commit is contained in:
isaki 2003-01-25 14:13:46 +00:00
parent 63dda858c6
commit 9bf4faf898
2 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fd.c,v 1.51 2003/01/01 02:31:13 thorpej Exp $ */
/* $NetBSD: fd.c,v 1.52 2003/01/25 14:13:46 isaki Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -1385,7 +1385,7 @@ loop:
#endif
fdcstatus(&fd->sc_dev, 7, bp->b_flags & B_READ ?
"read failed" : "write failed");
printf("blkno %d nblks %d\n",
printf("blkno %lld nblks %d\n",
fd->sc_blkno, fd->sc_nblks);
fdcretry(fdc);
goto loop;
@ -1424,7 +1424,7 @@ loop:
#endif
fdcstatus(&fd->sc_dev, 7, bp->b_flags & B_READ ?
"read failed" : "write failed");
printf("blkno %d nblks %d\n",
printf("blkno %lld nblks %d\n",
fd->sc_blkno, fd->sc_nblks);
fdcretry(fdc);
goto loop;

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2002/05/05 11:46:30 isaki Exp $
# $NetBSD: Makefile,v 1.12 2003/01/25 14:13:46 isaki Exp $
S= ${.CURDIR}/../../../..
LIBSADIR= $S/lib/libsa
@ -18,7 +18,8 @@ SRCS+= cd9660.c lfs.c nfs.c ufs.c ufs_ls.c ustarfs.c
#SRCS+= arp.c ether.c in_cksum.c net.c netif.c rpc.c udp.c
#SRCS+= bootp.c
SRCS+= ashldi3.c ashrdi3.c strcat.c strchr.c strcmp.c strncmp.c strcpy.c strerror.c strlen.c
SRCS+= ashldi3.c ashrdi3.c divdi3.c moddi3.c qdivrem.c
SRCS+= strcat.c strchr.c strcmp.c strncmp.c strcpy.c strerror.c strlen.c
SRCS+= adler32.c crc32.c infblock.c infcodes.c inffast.c
SRCS+= inflate.c inftrees.c infutil.c uncompr.c