$NetBSD: patch-ab,v 1.2 2006/03/14 02:53:13 joerg Exp $ --- su2.c.orig 1995-09-07 20:10:11.000000000 +0000 +++ su2.c @@ -113,9 +113,9 @@ char *SystemNameFile = SUPERUSERS; #ifndef NOSU2RC char *UsersNameFile = ".su2rc"; #endif NOSU2RC -char *SULog = "/usr/adm/sulog"; +char *SULog = SU2LOGFILE; -char *UtmpFile = "/etc/utmp"; +char *UtmpFile = "/var/run/utmp"; #ifndef PATH # ifdef BSD @@ -188,13 +188,6 @@ int setpwent (); void setpwent (); #endif -#ifndef sgi -struct passwd *getpwuid (); -struct passwd *getpwnam (); -void endpwent (); -int chmod (); -#endif - struct passwd *pw; char *ttyname ();