summaryrefslogtreecommitdiffstats
path: root/lib/libncp
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-08-20 12:53:36 +0000
committerkris <kris@FreeBSD.org>2001-08-20 12:53:36 +0000
commit110fc843a0e59e68be1a9d8d1a4bb0bcb152872b (patch)
tree486abf1f9f616d966d1546114ba2c7eb29bb7839 /lib/libncp
parent0e618921c14332b422b10cbd97a3431372f9eec1 (diff)
downloadFreeBSD-src-110fc843a0e59e68be1a9d8d1a4bb0bcb152872b.zip
FreeBSD-src-110fc843a0e59e68be1a9d8d1a4bb0bcb152872b.tar.gz
Mark some functions as __printflike() and/or taking const char * arguments
instead of char *. MFC after: 2 weeks
Diffstat (limited to 'lib/libncp')
-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