nproc: code shrink

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
pull/45/head
Denys Vlasenko 2021-06-24 13:47:49 +02:00
parent df96a3cd08
commit 6481070eb9
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ int nproc_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
if (cpuid && isdigit(cpuid[strlen(cpuid) - 1]))
count++;
}
closedir(cpusd);
IF_FEATURE_CLEAN_UP(closedir(cpusd);)
}
} else
#endif