Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jun 2009 15:34:08 GMT
From:      Marko Zec <zec@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 163570 for review
Message-ID:  <200906051534.n55FY8wv010100@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=163570

Change 163570 by zec@zec_tpx32 on 2009/06/05 15:33:59

	Enclose a debugging printf in #ifdef INVARIANTS.
	Pointed out by:	bz

Affected files ...

.. //depot/projects/vimage-commit2/src/sys/kern/kern_vimage.c#52 edit

Differences ...

==== //depot/projects/vimage-commit2/src/sys/kern/kern_vimage.c#52 (text+ko) ====

@@ -681,9 +681,11 @@
 	if (vnet->sockcnt != 0)
 		return (EBUSY);
 
+#ifdef INVARIANTS
 	if (vip->vi_ucredrefc != 0)
 		printf("vi_destroy: %s ucredrefc %d\n",
 		    vip->vi_name, vip->vi_ucredrefc);
+#endif
 
 	/* Point with no return - cleanup MUST succeed! */
 	LIST_REMOVE(vip, vi_le);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906051534.n55FY8wv010100>