diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-02-26 13:19:30 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-02-26 13:19:30 +0100 |
commit | 4cfc92763aea3007f802647370de61da7f5038a2 (patch) | |
tree | f21be40ecb2a5675219362c720e27ed4b8db7da4 | |
parent | 8b228c157f48718d7dbab8828145609e879d126a (diff) | |
download | lr-4cfc92763aea3007f802647370de61da7f5038a2.tar.gz lr-4cfc92763aea3007f802647370de61da7f5038a2.tar.xz lr-4cfc92763aea3007f802647370de61da7f5038a2.zip |
use ino_t for file counts
-rw-r--r-- | lr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lr.c b/lr.c index 3fd66a7..f5e2e32 100644 --- a/lr.c +++ b/lr.c @@ -122,7 +122,7 @@ struct fileinfo { char *fpath; size_t prefixl; int depth; - nlink_t entries; + ino_t entries; struct stat sb; off_t total; char xattr[4]; @@ -1009,10 +1009,10 @@ xattr_string(const char *f) #endif } -static nlink_t +static ino_t count_entries(struct fileinfo *fi) { - nlink_t c = 0; + ino_t c = 0; struct dirent *de; DIR *d; |