diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-02-25 15:15:49 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-02-25 15:15:49 +0100 |
commit | 28b50314341a164b7a6c41d626d3f3701aea291d (patch) | |
tree | 98fb36959f8d7718a0e3c2153effabb5d6abceee | |
parent | 52342f5f4c2a9562b28d74f2c016b19beaef8fbc (diff) | |
download | lr-28b50314341a164b7a6c41d626d3f3701aea291d.tar.gz lr-28b50314341a164b7a6c41d626d3f3701aea291d.tar.xz lr-28b50314341a164b7a6c41d626d3f3701aea291d.zip |
count number of entries with a nlink_t
-rw-r--r-- | lr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lr.c b/lr.c index d9edc95..5141ad1 100644 --- a/lr.c +++ b/lr.c @@ -119,7 +119,8 @@ static time_t now; struct fileinfo { char *fpath; size_t prefixl; - int depth, entries; + int depth; + nlink_t entries; struct stat sb; off_t total; }; |