3f20731536
to determine the location of utmp by nosing around /var/run, /var/adm, and so on. This fails in bento's build environment, and it's not the right thing to do anyway.
12 lines
253 B
C
12 lines
253 B
C
--- base/lib/utent.c.orig Wed Aug 15 20:50:34 2001
|
|
+++ base/lib/utent.c Wed Aug 15 20:54:08 2001
|
|
@@ -47,6 +47,9 @@
|
|
* setutent - open or rewind the utmp file
|
|
*/
|
|
|
|
+#if defined(__FreeBSD__)
|
|
+#define _UTMP_FILE _PATH_UTMP
|
|
+#endif
|
|
void
|
|
setutent ()
|
|
{
|