Make dtlogin compile on OpenBSD.

Most importantly, we *cannot* do the utmp stuff this code is attempting.
It is SysV-specific.
This commit is contained in:
Pascal Stumpf
2012-08-11 13:49:07 +02:00
committed by Jon Trulson
parent a8d5c1f0ba
commit 7c3a972d32
4 changed files with 22 additions and 3 deletions

View File

@@ -1290,7 +1290,7 @@ StartClient( struct verify_info *verify, struct display *d, int *pidp )
}
#endif
#ifndef sun
#if !defined(sun) && !defined(CSRG_BASED)
Account(d, user, NULL, getpid(), USER_PROCESS, status);
#endif