JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed several things, nearly feature complete
[dwm.git] / util.c
diff --git a/util.c b/util.c
index 0a5bd96..d8e6612 100644 (file)
--- a/util.c
+++ b/util.c
@@ -11,7 +11,7 @@
 #include <sys/wait.h>
 #include <unistd.h>
 
-#include "wm.h"
+#include "dwm.h"
 
 void
 error(const char *errstr, ...) {
@@ -75,8 +75,9 @@ swap(void **p1, void **p2)
 }
 
 void
-spawn(char *argv[])
+spawn(Arg *arg)
 {
+       char **argv = (char **)arg->argv;
        if(!argv || !argv[0])
                return;
        if(fork() == 0) {