mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
21b71c58c2
providing a flexible platform for the evaluation and comparison of network routing algorithms.
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);
|