opnsense-ports/games/tt/files/patch-utils.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

11 lines
281 B
C

--- utils.c.orig Fri Sep 12 18:01:20 2003
+++ utils.c Fri Sep 12 22:21:05 2003
@@ -82,7 +82,7 @@
static char result[LINELEN];
va_start (ap, fmt);
- (void) vsprintf (result, fmt, ap);
+ (void) vsnprintf (result, LINELEN, fmt, ap);
va_end (ap);
return (result);
}