X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/9e813947cf4631c0ca8e5f73ebfb269ef2f8252b..2e38ab7afdc56e3853751918f1b7705362bea01c:/st.c 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); }