X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=st.c;h=f967d2c0aba447bb88ae56a79258b8c0c44f64ce;hb=2e38ab7afdc56e3853751918f1b7705362bea01c;hp=693739e00f3f9110bbbf3f24931a7d64e7d9e872;hpb=9e813947cf4631c0ca8e5f73ebfb269ef2f8252b;p=st.git diff --git a/st.c b/st.c index 693739e..f967d2c 100644 --- a/st.c +++ b/st.c @@ -878,7 +878,7 @@ execsh(void) { DEFAULT(envshell, SHELL); putenv("TERM="TNAME); - args = opt_cmd ? opt_cmd : (char*[]){envshell, "-i", NULL}; + args = opt_cmd ? opt_cmd : (char *[]){envshell, "-i", NULL}; execvp(args[0], args); exit(EXIT_FAILURE); }