Source-Changes-HG archive

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

[src/trunk]: src/sys/ntfs ntfs_mountfs(): only print warnings iff NTFS_DEBUG



details:   https://anonhg.NetBSD.org/src/rev/f371fdb293d1
branches:  trunk
changeset: 476336:f371fdb293d1
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Sep 13 20:21:45 1999 +0000

description:
ntfs_mountfs(): only print warnings iff NTFS_DEBUG

diffstat:

 sys/ntfs/ntfs_vfsops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ea809dab7749 -r f371fdb293d1 sys/ntfs/ntfs_vfsops.c
--- a/sys/ntfs/ntfs_vfsops.c    Mon Sep 13 20:17:35 1999 +0000
+++ b/sys/ntfs/ntfs_vfsops.c    Mon Sep 13 20:21:45 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntfs_vfsops.c,v 1.11 1999/09/10 17:30:08 jdolecek Exp $        */
+/*     $NetBSD: ntfs_vfsops.c,v 1.12 1999/09/13 20:21:45 jdolecek Exp $        */
 
 /*-
  * Copyright (c) 1998, 1999 Semen Ustimenko
@@ -464,7 +464,7 @@
 
        if (strncmp(ntmp->ntm_bootfile.bf_sysid, NTFS_BBID, NTFS_BBIDLEN)) {
                error = EINVAL;
-               printf("ntfs_mountfs: invalid boot block\n");
+               dprintf(("ntfs_mountfs: invalid boot block\n"));
                goto out;
        }
 
@@ -595,7 +595,7 @@
                if(ntmp->ntm_sysvn[i]) vrele(ntmp->ntm_sysvn[i]);
 
        if (vflush(mp,NULLVP,0))
-               printf("ntfs_mountfs: vflush failed\n");
+               dprintf(("ntfs_mountfs: vflush failed\n"));
 
 out:
 #if defined(__FreeBSD__)



Home | Main Index | Thread Index | Old Index