mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 22:27:47 -04:00
__FUNCTION__ -> __func__
This commit is contained in:
parent
4eb55c7adc
commit
63d45d7da0
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue