1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/cad/mars/files/patch-05
David E. O'Brien 21b71c58c2 The Maryland Routing Simulator (MaRS) is a discrete-event simulator
providing a flexible platform for the evaluation and comparison of
network routing algorithms.
1996-11-25 01:07:59 +00:00

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);