summaryrefslogtreecommitdiff
path: root/comms/mgetty+sendfax/patches/patch-am
blob: 1a97c9e97c23b195ee86f1ca95c90e705bf263c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$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 );