aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-18 00:04:30 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-18 00:04:30 +0000
commit01123bae075d6d472eaf3806556ce08ca6d6a3cd (patch)
tree82794eebafa9e00b243408c62015c383edd6cabf /util.c
parentde052af0fd05e0257e48f9e0633a2a934e4bff3d (diff)
downloaddzen-01123bae075d6d472eaf3806556ce08ca6d6a3cd.tar.gz
dzen-01123bae075d6d472eaf3806556ce08ca6d6a3cd.zip
code cleanups, thanks 'mauke'
git-svn-id: http://dzen.googlecode.com/svn/trunk@106 f2baff5b-bf2c-0410-a398-912abdc3d8b2
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";