From 01123bae075d6d472eaf3806556ce08ca6d6a3cd Mon Sep 17 00:00:00 2001 From: gotmor Date: Mon, 18 Jun 2007 00:04:30 +0000 Subject: code cleanups, thanks 'mauke' git-svn-id: http://dzen.googlecode.com/svn/trunk@106 f2baff5b-bf2c-0410-a398-912abdc3d8b2 --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util.c') 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"; -- cgit v1.2.3-54-g00ecf