Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/smbfs use SMBVDEBUG() instead of #ifdef SMB_VNODE_DEBUG
details: https://anonhg.NetBSD.org/src/rev/9645a2654f84
branches: trunk
changeset: 559639:9645a2654f84
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sun Mar 21 13:43:46 2004 +0000
description:
use SMBVDEBUG() instead of #ifdef SMB_VNODE_DEBUG
diffstat:
sys/fs/smbfs/smbfs_vfsops.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (30 lines):
diff -r e4e37ce567a6 -r 9645a2654f84 sys/fs/smbfs/smbfs_vfsops.c
--- a/sys/fs/smbfs/smbfs_vfsops.c Sun Mar 21 13:43:09 2004 +0000
+++ b/sys/fs/smbfs/smbfs_vfsops.c Sun Mar 21 13:43:46 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: smbfs_vfsops.c,v 1.32 2003/12/04 19:38:23 atatat Exp $ */
+/* $NetBSD: smbfs_vfsops.c,v 1.33 2004/03/21 13:43:46 jdolecek Exp $ */
/*
* Copyright (c) 2000-2001, Boris Popov
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smbfs_vfsops.c,v 1.32 2003/12/04 19:38:23 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smbfs_vfsops.c,v 1.33 2004/03/21 13:43:46 jdolecek Exp $");
#ifdef _KERNEL_OPT
#include "opt_quota.h"
@@ -161,10 +161,8 @@
return error;
if (args.version != SMBFS_VERSION) {
-#ifdef SMB_VNODE_DEBUG
- printf("mount version mismatch: kernel=%d, mount=%d\n",
+ SMBVDEBUG("mount version mismatch: kernel=%d, mount=%d\n",
SMBFS_VERSION, args.version);
-#endif
return EINVAL;
}
smb_makescred(&scred, p, p->p_ucred);
Home |
Main Index |
Thread Index |
Old Index