summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tabbed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tabbed.c b/tabbed.c
index 42bd5a5..551e5b3 100644
--- a/tabbed.c
+++ b/tabbed.c
@@ -785,7 +785,7 @@ spawn(const Arg *arg) {
close(ConnectionNumber(dpy));
setsid();
if(arg && arg->v) {
- execvp(((char **)arg->v)[0], (char **)argv->v);
+ execvp(((char **)arg->v)[0], (char **)arg->v);
fprintf(stderr, "tabbed: execvp %s", ((char **)arg->v)[0]);
} else {
execvp(cmd[0], cmd);