diff options
author | kris <kris@FreeBSD.org> | 2001-08-20 12:53:36 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-08-20 12:53:36 +0000 |
commit | 110fc843a0e59e68be1a9d8d1a4bb0bcb152872b (patch) | |
tree | 486abf1f9f616d966d1546114ba2c7eb29bb7839 /lib/libncp | |
parent | 0e618921c14332b422b10cbd97a3431372f9eec1 (diff) | |
download | FreeBSD-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.c | 2 |
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); |