diff options
author | stefanf <stefanf@FreeBSD.org> | 2004-09-22 16:56:49 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2004-09-22 16:56:49 +0000 |
commit | 5b6654bdf6f88b415d84b148a3789f52f1ec2685 (patch) | |
tree | ce233aa140fe0059fed10f53cfdd1be159abf2c8 /lib/libncp/ncpl_subr.c | |
parent | 59b52ed829c8199391024052fe9e5647452fcdb7 (diff) | |
download | FreeBSD-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.c | 8 |
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++; |