diff options
-rw-r--r-- | conf/conf.c | 2 | ||||
-rw-r--r-- | conf/conf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/conf.c b/conf/conf.c index 50e5944b..3fd10ad8 100644 --- a/conf/conf.c +++ b/conf/conf.c @@ -504,7 +504,7 @@ order_shutdown(void) * error in the configuration. */ void -cf_error(char *msg, ...) +cf_error(const char *msg, ...) { char buf[1024]; va_list args; diff --git a/conf/conf.h b/conf/conf.h index 1c4f7fce..8e490c7b 100644 --- a/conf/conf.h +++ b/conf/conf.h @@ -68,7 +68,7 @@ int config_commit(struct config *, int type, int timeout); int config_confirm(void); int config_undo(void); void config_init(void); -void cf_error(char *msg, ...) NORET; +void cf_error(const char *msg, ...) NORET; void config_add_obstacle(struct config *); void config_del_obstacle(struct config *); void order_shutdown(void); |