summaryrefslogtreecommitdiffstats
path: root/lib/libncp/ncpl_subr.c
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2004-09-22 16:56:49 +0000
committerstefanf <stefanf@FreeBSD.org>2004-09-22 16:56:49 +0000
commit5b6654bdf6f88b415d84b148a3789f52f1ec2685 (patch)
treece233aa140fe0059fed10f53cfdd1be159abf2c8 /lib/libncp/ncpl_subr.c
parent59b52ed829c8199391024052fe9e5647452fcdb7 (diff)
downloadFreeBSD-src-5b6654bdf6f88b415d84b148a3789f52f1ec2685.zip
FreeBSD-src-5b6654bdf6f88b415d84b148a3789f52f1ec2685.tar.gz
Prefer C99's __func__ over GCC's __FUNCTION__.
Diffstat (limited to 'lib/libncp/ncpl_subr.c')
-rw-r--r--lib/libncp/ncpl_subr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libncp/ncpl_subr.c b/lib/libncp/ncpl_subr.c
index 0dd191f..1863143 100644
--- a/lib/libncp/ncpl_subr.c
+++ b/lib/libncp/ncpl_subr.c
@@ -254,19 +254,19 @@ ncp_initlib(void){
if (errno == ENOENT)
fprintf(stderr, "Kernel module ncp is not loaded.\n");
else
- fprintf(stderr, "%s: kernel module is old, please recompile it.\n", __FUNCTION__);
+ fprintf(stderr, "%s: kernel module is old, please recompile it.\n", __func__);
return error;
}
if (NCP_VERSION != kv) {
- fprintf(stderr, "%s: kernel module version(%d) don't match library(%d).\n", __FUNCTION__, kv, NCP_VERSION);
+ fprintf(stderr, "%s: kernel module version(%d) don't match library(%d).\n", __func__, kv, NCP_VERSION);
return EINVAL;
}
if ((error = ncp_nls_setrecode(0)) != 0) {
- fprintf(stderr, "%s: can't initialise recode\n", __FUNCTION__);
+ fprintf(stderr, "%s: can't initialise recode\n", __func__);
return error;
}
if ((error = ncp_nls_setlocale("")) != 0) {
- fprintf(stderr, "%s: can't initialise locale\n", __FUNCTION__);
+ fprintf(stderr, "%s: can't initialise locale\n", __func__);
return error;
}
ncp_initialized++;
OpenPOWER on IntegriCloud