1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/mail/mh/files/patch-af

12 lines
347 B
Plaintext
Raw Normal View History

--- uip/rcvtty.c.orig Tue Jan 7 18:04:11 1997
+++ uip/rcvtty.c Tue Jan 7 18:13:50 1997
@@ -158,7 +158,7 @@
user = getusr ();
#ifndef TTYD
- if ((uf = fopen ("/etc/utmp", "r")) == NULL)
+ if ((uf = fopen (_PATH_UTMP, "r")) == NULL)
exit (RCV_MBX);
while (fread ((char *) &ut, sizeof ut, 1, uf) == 1)
if (ut.ut_name[0] != 0