summaryrefslogtreecommitdiff
path: root/pm.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-06 22:50:27 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-06 22:50:27 -0700
commitc24ac15bfa150aeed51d9ec5cb9f2a5054e6f91d (patch)
tree8c60812023f2709fabaf72e6a016468150a5ea12 /pm.c
parent063daed4b43090a3e37f29e9796ffce0861573f1 (diff)
Add const attributes to fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'pm.c')
-rw-r--r--pm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm.c b/pm.c
index 5735c01..b81a39f 100644
--- a/pm.c
+++ b/pm.c
@@ -98,7 +98,7 @@ void FWPprocessMessages(
struct sockaddr_in server_sockaddr_in;
struct sockaddr_in dummy_sockaddr_in;
char * server_name_base;
- char * config_failure = "unrecognized server or permission denied";
+ const char * config_failure = "unrecognized server or permission denied";
char * tmp_str;
int rule_number = -1;
char * colon;