diff options
-rw-r--r-- | coreutils/nproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/nproc.c b/coreutils/nproc.c index 89b17e0..bb9bc56 100644 --- a/coreutils/nproc.c +++ b/coreutils/nproc.c @@ -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 |