pkgsrc/comms/mgetty+sendfax/patches/patch-am

15 lines
523 B
Text
Raw Normal View History

$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 );