summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Noll <maan@tuebingen.mpg.de>2017-02-17 15:15:10 +0100
committerAndre Noll <maan@tuebingen.mpg.de>2017-04-16 12:32:06 +0200
commitb795331d8f7006e1cd15ddf124baf1384347d2db (patch)
tree38e21ce5d062d4465e327b0af6e97ba601e13691
parent01af36ee3cd794f4332c4898828a31aafe0a939f (diff)
ipc.c: Constify parameter of get_key_or_die().
The function only reads from the location pointed at by the config_file variable.
-rw-r--r--ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc.c b/ipc.c
index f0a8341..f7a676e 100644
--- a/ipc.c
+++ b/ipc.c
@@ -228,7 +228,7 @@ error:
return ret;
}
-static inline int get_key_or_die(char *config_file)
+static inline int get_key_or_die(const char *config_file)
{
int ret;
struct stat statbuf;