1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/security/srp/files/patch-telnet::telnetd::sys_term.c
Kirill Ponomarev 6cad736824 - Update to version 2.0.0
PR:		59133
Submitted by:	Ports Fury
2003-11-10 19:46:27 +00:00

13 lines
307 B
C

--- telnet/telnetd/sys_term.c.orig Tue Jul 31 01:27:05 2001
+++ telnet/telnetd/sys_term.c Tue Jan 22 16:31:27 2002
@@ -111,6 +111,9 @@
# else
char wtmpf[] = "/usr/adm/wtmp";
# endif
+#if defined(__FreeBSD__)
+#define UTMP_FILE _PATH_UTMP
+#endif
# ifdef UTMP_FILE
char utmpf[] = UTMP_FILE;
# else