Module Name:    src
Committed By:   plunky
Date:           Mon Apr  4 15:42:42 UTC 2011

Modified Files:
        src/tests/fs/puffs: t_basic.c

Log Message:
reinstate #ifdef PUFFSDUMP around otherwise unused function
which requires symbols from -lpuffs, not linked


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/fs/puffs/t_basic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/fs/puffs/t_basic.c
diff -u src/tests/fs/puffs/t_basic.c:1.10 src/tests/fs/puffs/t_basic.c:1.11
--- src/tests/fs/puffs/t_basic.c:1.10	Thu Feb 10 20:10:54 2011
+++ src/tests/fs/puffs/t_basic.c	Mon Apr  4 15:42:42 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_basic.c,v 1.10 2011/02/10 20:10:54 pooka Exp $	*/
+/*	$NetBSD: t_basic.c,v 1.11 2011/04/04 15:42:42 plunky Exp $	*/
 
 #include <sys/types.h>
 #include <sys/mount.h>
@@ -39,6 +39,7 @@
 		atf_tc_fail_errno("statvfs");
 }
 
+#ifdef PUFFSDUMP
 static void __unused
 dumpopcount(struct puffstestargs *args)
 {
@@ -56,6 +57,7 @@
 		    puffsdump_vnop_revmap[i], args->pta_vn_toserv_ops[i]);
 	}
 }
+#endif
 
 ATF_TC(mount);
 ATF_TC_HEAD(mount, tc)

Reply via email to