}
while ((entry = readdir(dir))) {
mode_t m;
- struct stat s;
+ struct stat64 s;
uint32_t uid;
uint64_t size;
struct user_info *ui;
continue;
if (!strcmp(entry->d_name, ".."))
continue;
- if (lstat(entry->d_name, &s) == -1) {
- WARNING_LOG("lstat error for %s/%s (%s)\n",
+ if (lstat64(entry->d_name, &s) == -1) {
+ WARNING_LOG("lstat64 error for %s/%s (%s)\n",
dirname, entry->d_name, strerror(errno));
continue;
}