Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ntfs ntfs_strategy(): make compilable with NTFS_DEBUG



details:   https://anonhg.NetBSD.org/src/rev/62f121d60966
branches:  trunk
changeset: 474991:62f121d60966
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Jul 28 20:36:46 1999 +0000

description:
ntfs_strategy(): make compilable with NTFS_DEBUG

diffstat:

 sys/ntfs/ntfs_vnops.c |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 4625a87c548b -r 62f121d60966 sys/ntfs/ntfs_vnops.c
--- a/sys/ntfs/ntfs_vnops.c     Wed Jul 28 19:41:36 1999 +0000
+++ b/sys/ntfs/ntfs_vnops.c     Wed Jul 28 20:36:46 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntfs_vnops.c,v 1.6 1999/07/26 23:26:14 augustss Exp $  */
+/*     $NetBSD: ntfs_vnops.c,v 1.7 1999/07/28 20:36:46 jdolecek Exp $  */
 
 /*
  * Copyright (c) 1992, 1993
@@ -357,10 +357,17 @@
        struct ntfsmount *ntmp = ip->i_mp;
        int error;
 
+#ifdef __FreeBSD__
        dprintf(("ntfs_strategy: offset: %d, blkno: %d, lblkno: %d\n",
                (u_int32_t)bp->b_offset,(u_int32_t)bp->b_blkno,
                (u_int32_t)bp->b_lblkno));
-       dprintf(("strategy: bcount: %d flags: 0x%x\n", 
+#else
+       dprintf(("ntfs_strategy: blkno: %d, lblkno: %d\n",
+               (u_int32_t)bp->b_blkno,
+               (u_int32_t)bp->b_lblkno));
+#endif
+
+       dprintf(("strategy: bcount: %d flags: 0x%lx\n", 
                (u_int32_t)bp->b_bcount,bp->b_flags));
 
        if (bp->b_flags & B_READ) {



Home | Main Index | Thread Index | Old Index