7c2d12a5a4
- add includes so openpty is not implicitly declared - use (void*) NULL in execl to make sure it 64-bit where it needs to be OK brad (maintainer)
13 lines
500 B
Plaintext
13 lines
500 B
Plaintext
$OpenBSD: patch-attacher_c,v 1.1 2003/10/14 23:05:28 jolan Exp $
|
|
--- attacher.c.orig 2003-09-08 09:24:48.000000000 -0500
|
|
+++ attacher.c 2003-10-14 14:10:14.000000000 -0500
|
|
@@ -676,7 +676,7 @@ LockTerminal()
|
|
setuid(real_uid); /* this should be done already */
|
|
#endif
|
|
closeallfiles(0); /* important: /etc/shadow may be open */
|
|
- execl(prg, "SCREEN-LOCK", NULL);
|
|
+ execl(prg, "SCREEN-LOCK", (void*)NULL);
|
|
exit(errno);
|
|
}
|
|
if (pid == -1)
|