mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use nitems() from sys/param.h
Sponsored by: gandi.net (BSD Day Taiwan)
This commit is contained in:
parent
02c8c1182b
commit
268b75a878
1 changed files with 1 additions and 1 deletions
|
|
@ -356,7 +356,7 @@ writefile(time_t runtimer, char queue)
|
|||
else
|
||||
{
|
||||
size_t i;
|
||||
for (i=0; i<sizeof(no_export)/sizeof(no_export[0]); i++)
|
||||
for (i = 0; i < nitems(no_export); i++)
|
||||
{
|
||||
export = export
|
||||
&& (strncmp(*atenv, no_export[i],
|
||||
|
|
|
|||
Loading…
Reference in a new issue