diff options
author | Stefan Farfeleder <stefanf@FreeBSD.org> | 2004-09-22 16:56:49 +0000 |
---|---|---|
committer | Stefan Farfeleder <stefanf@FreeBSD.org> | 2004-09-22 16:56:49 +0000 |
commit | e60b9f5130555c81ac3e6b39130d5b332a979c02 (patch) | |
tree | ce233aa140fe0059fed10f53cfdd1be159abf2c8 /lib/libncp/ncpl_subr.c | |
parent | ff9af45a01e0312f2d252d06cdfefa08a2abcb37 (diff) |
Prefer C99's __func__ over GCC's __FUNCTION__.
Notes
Notes:
svn path=/head/; revision=135576
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 0dd191faf398..186314386f90 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++; |