summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'data.c')
-rw-r--r--data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/data.c b/data.c
index 9a8cba8..87bf6c5 100644
--- a/data.c
+++ b/data.c
@@ -430,7 +430,7 @@ bool cFileSource::Parse(char *s)
bool cFileSource::Action(eAction act)
{
- static char *str[] = { "mount", "unmount", "eject", "status" };
+ static const char *str[] = { "mount", "unmount", "eject", "status" };
char *cmd = 0;
asprintf(&cmd, "%s %s %s", g_szMountScript, str[act], basedir);