1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

__FUNCTION__ -> __func__

This commit is contained in:
Stefan Farfeleder 2005-03-09 11:28:46 +00:00
parent 4eb55c7adc
commit 63d45d7da0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143316

View File

@ -113,11 +113,11 @@ static sc_p sca[N${UPPER}];
#define CHECKUNIT(RETVAL) \
do { /* the do-while is a safe way to do this grouping */ \
if (unit > N${UPPER}) { \
printf(__FUNCTION__ ":bad unit %d\n", unit); \
printf("%s: bad unit %d\n", __func__, unit); \
return (RETVAL); \
} \
if (scp == NULL) { \
printf( __FUNCTION__ ": unit %d not attached\n", unit); \
printf("%s: unit %d not attached\n", __func__, unit); \
return (RETVAL); \
} \
} while (0)