diff --git a/sys/fs/adosfs/adutil.c b/sys/fs/adosfs/adutil.c index 293afc55ccb8..17c68a7651e4 100644 --- a/sys/fs/adosfs/adutil.c +++ b/sys/fs/adosfs/adutil.c @@ -1,4 +1,4 @@ -/* $NetBSD: adutil.c,v 1.1 2002/12/23 17:15:26 jdolecek Exp $ */ +/* $NetBSD: adutil.c,v 1.2 2003/01/27 04:08:45 lonewolf Exp $ */ /* * Copyright (c) 1994 Christian E. Hopps @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: adutil.c,v 1.1 2002/12/23 17:15:26 jdolecek Exp $"); +__KERNEL_RCSID(0, "$NetBSD: adutil.c,v 1.2 2003/01/27 04:08:45 lonewolf Exp $"); #include #include @@ -113,7 +113,7 @@ adosfs_getblktype(amp, bp) { if (adoscksum(bp, amp->nwords)) { #ifdef DIAGNOSTIC - printf("adosfs: aget: cksum of blk %ld failed\n", + printf("adosfs: aget: cksum of blk %" PRId64 " failed\n", bp->b_blkno / (amp->bsize / DEV_BSIZE)); #endif return (-1); @@ -124,7 +124,7 @@ adosfs_getblktype(amp, bp) */ if (adoswordn(bp, 0) != BPT_SHORT) { #ifdef DIAGNOSTIC - printf("adosfs: aget: bad primary type blk %ld (type = %d)\n", + printf("adosfs: aget: bad primary type blk %" PRId64 " (type = %d)\n", bp->b_blkno / (amp->bsize / DEV_BSIZE), adoswordn(bp,0)); #endif return (-1); @@ -149,7 +149,7 @@ adosfs_getblktype(amp, bp) } #ifdef DIAGNOSTIC - printf("adosfs: aget: bad secondary type blk %ld (type = %d)\n", + printf("adosfs: aget: bad secondary type blk %" PRId64 " (type = %d)\n", bp->b_blkno / (amp->bsize / DEV_BSIZE), adoswordn(bp, amp->nwords - 1)); #endif diff --git a/sys/fs/adosfs/advnops.c b/sys/fs/adosfs/advnops.c index d4fa82b1d905..f40c9a2be72a 100644 --- a/sys/fs/adosfs/advnops.c +++ b/sys/fs/adosfs/advnops.c @@ -1,4 +1,4 @@ -/* $NetBSD: advnops.c,v 1.3 2003/01/24 21:55:17 fvdl Exp $ */ +/* $NetBSD: advnops.c,v 1.4 2003/01/27 04:08:45 lonewolf Exp $ */ /* * Copyright (c) 1994 Christian E. Hopps @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: advnops.c,v 1.3 2003/01/24 21:55:17 fvdl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: advnops.c,v 1.4 2003/01/27 04:08:45 lonewolf Exp $"); #if defined(_KERNEL_OPT) #include "opt_quota.h" @@ -322,13 +322,13 @@ adosfs_read(v) error = EIO; /* OFS needs the complete block */ else if (adoswordn(bp, 0) != BPT_DATA) { #ifdef DIAGNOSTIC - printf("adosfs: bad primary type blk %ld\n", + printf("adosfs: bad primary type blk %" PRId64 "\n", bp->b_blkno / (amp->bsize / DEV_BSIZE)); #endif error = EINVAL; } else if (adoscksum(bp, ap->nwords)) { #ifdef DIAGNOSTIC - printf("adosfs: blk %ld failed cksum.\n", + printf("adosfs: blk %" PRId64 " failed cksum.\n", bp->b_blkno / (amp->bsize / DEV_BSIZE)); #endif error = EINVAL; @@ -571,7 +571,7 @@ adosfs_bmap(v) *bnp = adoswordn(flbp, flblkoff) * ap->amp->bsize / DEV_BSIZE; } else { #ifdef DIAGNOSTIC - printf("flblk offset %ld too large in lblk %ld blk %d\n", + printf("flblk offset %ld too large in lblk %ld blk %" PRId64 "\n", flblkoff, (long)bn, flbp->b_blkno); #endif error = EINVAL;