wm: teppich

Download patch

ref: 9312865a95ccf0bebc9b7efc2ef40b1a320ae41f
parent: 2dc97a631e2747f24fc292f1158c6dbff9cd05e3
author: mkf <mkf@cloud9p.org>
date: Sun Dec 3 16:01:38 EST 2023

rc: remove cwd from exec()

--- a/cmd/rc.c
+++ b/cmd/rc.c
@@ -9,7 +9,7 @@
 static char *cwd;
 
 int
-exec(int argc, char* argv0, char **argv, char *cwd)
+exec(int argc, char* argv0, char **argv)
 {
 	int status;
 
@@ -52,7 +52,7 @@
 		argv[argc+1] = '\0'; /* just in case */
 	}
 
-	return exec(argc, argv0, argv, cwd);
+	return exec(argc, argv0, argv);
 }
 
 void