$NetBSD: patch-am,v 1.2 2005/03/07 11:29:28 wiz Exp $ --- mgetty.c.orig 2003-11-17 20:09:41.000000000 +0100 +++ mgetty.c @@ -518,7 +518,8 @@ int main _P2((argc, argv), int argc, cha 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 );