Date: Mon, 7 Aug 2006 14:02:42 GMT From: Howard Su <howardsu@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 103384 for review Message-ID: <200608071402.k77E2g23098958@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103384 Change 103384 by howardsu@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608071402.k77E2g23098958>