aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index dc86b1c..ced6368 100644
--- a/util.c
+++ b/util.c
@@ -42,7 +42,7 @@ estrdup(const char *str) {
}
void
spawn(const char *arg) {
- static char *shell = NULL;
+ static const char *shell = NULL;
if(!shell && !(shell = getenv("SHELL")))
shell = "/bin/sh";