Fix string concatenation - "wlan_##name" -> "wlan_" #name
PR: kern/197623 Submitted by: Andriy Voskoboinyk <s3erios@gmail.com>
This commit is contained in:
parent
364ee1250b
commit
fc4d77c3ce
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282406
@ -355,8 +355,8 @@ wlan_##name##_modevent(module_t mod, int type, void *unused) \
|
||||
case MOD_UNLOAD: \
|
||||
case MOD_QUIESCE: \
|
||||
if (nrefs) { \
|
||||
printf("wlan_##name: still in use (%u dynamic refs)\n",\
|
||||
nrefs); \
|
||||
printf("wlan_" #name ": still in use " \
|
||||
"(%u dynamic refs)\n", nrefs); \
|
||||
return EBUSY; \
|
||||
} \
|
||||
if (type == MOD_UNLOAD) { \
|
||||
|
Loading…
Reference in New Issue
Block a user