cd0bf6e6d1
ok sturm@.
13 lines
426 B
Plaintext
13 lines
426 B
Plaintext
$OpenBSD: patch-robot_c,v 1.1 2004/03/03 22:51:00 xsa Exp $
|
|
--- robot.c.orig 2003-08-13 03:33:02.000000000 +0200
|
|
+++ robot.c 2004-03-03 16:03:26.000000000 +0100
|
|
@@ -63,7 +63,7 @@ ExtFunc void InitRobot(char *robotProg)
|
|
close(to[1]);
|
|
close(from[0]);
|
|
close(from[1]);
|
|
- execl("/bin/sh", "sh", "-c", robotProg, NULL);
|
|
+ execl("/bin/sh", "sh", "-c", robotProg, (char *)NULL);
|
|
die("execl failed");
|
|
}
|
|
close(to[0]);
|