diff options
Diffstat (limited to 'nscd/nscd.c')
-rw-r--r-- | nscd/nscd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/nscd.c b/nscd/nscd.c index 97400d1..5844b38 100644 --- a/nscd/nscd.c +++ b/nscd/nscd.c @@ -176,7 +176,7 @@ main (int argc, char **argv) while ((dirent = readdir64 (d)) != NULL) { char *endp; - unsigned long int fdn = strtoul (dirent->d_name, &endp, 10); + long int fdn = strtol (dirent->d_name, &endp, 10); if (*endp == '\0' && fdn != dfdn && fdn >= min_close_fd) close ((int) fdn); |