PERFORCE change 161690 for review
    Marko Zec 
    zec at FreeBSD.org
       
    Wed May  6 23:01:17 UTC 2009
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=161690
Change 161690 by zec at zec_tpx32 on 2009/05/06 23:01:00
	Make an ugly hack a bit less ugly.
Affected files ...
.. //depot/projects/vimage-commit/src/sys/sys/vimage.h#22 edit
Differences ...
==== //depot/projects/vimage-commit/src/sys/sys/vimage.h#22 (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