From 8019168c34603273bc8b3a7dc202168da150946a Mon Sep 17 00:00:00 2001 From: manu Date: Sat, 6 Dec 2003 11:43:56 +0000 Subject: [PATCH] Remove a useless debug printf --- sys/compat/darwin/darwin_mount.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/sys/compat/darwin/darwin_mount.c b/sys/compat/darwin/darwin_mount.c index 60449b3d9042..dbf23a519b27 100644 --- a/sys/compat/darwin/darwin_mount.c +++ b/sys/compat/darwin/darwin_mount.c @@ -1,4 +1,4 @@ -/* $NetBSD: darwin_mount.c,v 1.1 2003/09/02 21:31:01 manu Exp $ */ +/* $NetBSD: darwin_mount.c,v 1.2 2003/12/06 11:43:56 manu Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: darwin_mount.c,v 1.1 2003/09/02 21:31:01 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: darwin_mount.c,v 1.2 2003/12/06 11:43:56 manu Exp $"); #include #include @@ -205,15 +205,8 @@ native_to_darwin_statfs(bs, ds) dflags |= DARWIN_MNT_UNION; if (bs->f_flags|MNT_ASYNC) dflags |= DARWIN_MNT_ASYNC; -#ifdef DEBUG_DARWIN - if ((bs->f_flags|MNT_NOCOREDUMP) || - (bs->f_flags|MNT_IGNORE) || - (bs->f_flags|MNT_NOATIME) || - (bs->f_flags|MNT_SYMPERM) || - (bs->f_flags|MNT_NODEVMTIME) || - (bs->f_flags|MNT_SOFTDEP)) - printf("Ignored darwin_statfs flags %lx\n", bs->f_flags); -#endif + if (bs->f_flags|MNT_IGNORE) + dflags |= DARWIN_MNT_DONTBROWSE; ds->f_otype = bs->f_type; /* XXX */ ds->f_oflags = dflags & 0xffff;