PERFORCE change 103384 for review

Howard Su howardsu at FreeBSD.org
Mon Aug 7 14:03:07 UTC 2006


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

Change 103384 by howardsu at su_vm on 2006/08/07 14:02:02

	Fix build on amd64.

Affected files ...

.. //depot/projects/dtrace/src/sys/kern/subr_prf.c#5 edit

Differences ...

==== //depot/projects/dtrace/src/sys/kern/subr_prf.c#5 (text+ko) ====

@@ -327,8 +327,9 @@
 	char *p_bufr = bufr;
 	int s_bufr = sizeof(bufr);
 	int retval;
-	va_list ap_cp = ap;
+	va_list ap_cp;
 
+	va_copy(ap_cp, ap);
 	/* Try to format the string using the buffer on the stack. */
 	retval = vsnprintf(p_bufr, s_bufr, fmt, ap);
 


More information about the p4-projects mailing list