opnsense-ports/shells/es/files/patch-print.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

16 lines
378 B
C

*** print.c.orig Fri Apr 11 15:54:36 1997
--- print.c Mon Mar 15 18:55:13 2004
***************
*** 279,285 ****
--- 279,289 ----
VA_START(format->args, fmt);
n += printfmt(format, fmt);
va_end(format->args);
+ #if NO_VA_LIST_ASSIGN
+ memcpy(format->args, saveargs, sizeof(va_list));
+ #else
format->args = saveargs;
+ #endif
return n + format->flushed;
}