diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-10-06 22:50:27 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-10-06 22:50:27 -0700 |
commit | c24ac15bfa150aeed51d9ec5cb9f2a5054e6f91d (patch) | |
tree | 8c60812023f2709fabaf72e6a016468150a5ea12 /pm.c | |
parent | 063daed4b43090a3e37f29e9796ffce0861573f1 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |