building on a suggestion by Gert Doering, filling ut_pid with the pid of the uucp-style lock holder. This should fix PR pkg/12261, although you will need today's "w" to see any results. Bump PKGREVSION.
14 lines
523 B
Text
14 lines
523 B
Text
$NetBSD: patch-am,v 1.1 2003/02/26 21:45:46 fredb Exp $
|
|
|
|
--- mgetty.c.orig 2002-12-05 05:54:03.000000000 -0600
|
|
+++ mgetty.c
|
|
@@ -512,7 +512,8 @@
|
|
|
|
rmlocks();
|
|
|
|
-#if ( defined(linux) && defined(NO_SYSVINIT) ) || defined(sysV68)
|
|
+#if ( defined(linux) && defined(NO_SYSVINIT) ) || defined(sysV68) \
|
|
+ || defined(NETBSD_UTMPX)
|
|
/* on linux, "simple init" does not make a wtmp entry when you
|
|
* log so we have to do it here (otherwise, "who" won't work) */
|
|
make_utmp_wtmp( Device, UT_INIT, "uugetty", NULL );
|