PERFORCE change 161695 for review

Marko Zec zec at FreeBSD.org
Wed May 6 23:40:03 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=161695

Change 161695 by zec at zec_tpx32 on 2009/05/06 23:39:09

	Reduce ugliness (tested in vc branch).

Affected files ...

.. //depot/projects/vimage-commit2/src/sys/sys/vimage.h#52 edit

Differences ...

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

@@ -317,7 +317,7 @@
 #define	VPROCG(sym)		VSYM(vprocg, sym)
 
 #ifdef VIMAGE
-#define	G_hostname		thread0.td_ucred->cr_vimage->v_procg->_hostname
+#define	G_hostname		TD_TO_VPROCG(&thread0)->_hostname
 #else
 #define	G_hostname		VPROCG(hostname)
 #endif


More information about the p4-projects mailing list