summaryrefslogtreecommitdiffstats
path: root/lib/libncp/ncpl_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libncp/ncpl_subr.c')
-rw-r--r--lib/libncp/ncpl_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libncp/ncpl_subr.c b/lib/libncp/ncpl_subr.c
index 0a36126..768c183 100644
--- a/lib/libncp/ncpl_subr.c
+++ b/lib/libncp/ncpl_subr.c
@@ -435,7 +435,7 @@ ncp_args_parseopt(struct ncp_args *na, int opt, char *optarg, ncp_setopt_t *set_
* the rest - requester error;
*/
void
-ncp_error(char *fmt, int error,...) {
+ncp_error(const char *fmt, int error, ...) {
va_list ap;
fprintf(stderr, "%s: ", __progname);
OpenPOWER on IntegriCloud