mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
15 lines
309 B
Plaintext
15 lines
309 B
Plaintext
|
--- sim/log.c.orig Tue Oct 6 20:52:51 1992
|
||
|
+++ sim/log.c Mon Nov 18 21:18:07 1996
|
||
|
@@ -80,7 +80,11 @@
|
||
|
/* Add the time */
|
||
|
fprintf(l, "%d ", ev_now());
|
||
|
va_start(p);
|
||
|
+#ifdef __FreeBSD__
|
||
|
+ vfprintf(l, format, p);
|
||
|
+#else
|
||
|
_doprnt(format, p, l);
|
||
|
+#endif
|
||
|
va_end(p);
|
||
|
fputs("\n\0", l);
|
||
|
fflush(l);
|