usr/src/uts/common/os/zone.c
changeset 3446 5903aece022d
parent 3247 e05001c14ea2
child 3448 aaf16568054b
--- a/usr/src/uts/common/os/zone.c	Thu Jan 18 16:23:02 2007 -0800
+++ b/usr/src/uts/common/os/zone.c	Fri Jan 19 08:10:06 2007 -0800
@@ -20,7 +20,7 @@
  */
 
 /*
- * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
@@ -2661,11 +2661,11 @@
 	nvlist_t *nvl = za->nvlist;
 	nvpair_t *nvp = NULL;
 
-	bcopy("zsched", u.u_psargs, sizeof ("zsched"));
-	bcopy("zsched", u.u_comm, sizeof ("zsched"));
-	u.u_argc = 0;
-	u.u_argv = NULL;
-	u.u_envp = NULL;
+	bcopy("zsched", PTOU(pp)->u_psargs, sizeof ("zsched"));
+	bcopy("zsched", PTOU(pp)->u_comm, sizeof ("zsched"));
+	PTOU(pp)->u_argc = 0;
+	PTOU(pp)->u_argv = NULL;
+	PTOU(pp)->u_envp = NULL;
 	closeall(P_FINFO(pp));
 
 	/*