--- a/src/selinux_restorecon.c +++ b/src/selinux_restorecon.c @@ -437,7 +437,7 @@ file_spec_t *prevfl, *fl; uint32_t h; int ret; - struct stat64 sb; + struct stat sb; __pthread_mutex_lock(&fl_mutex); @@ -451,7 +451,7 @@ for (prevfl = &fl_head[h], fl = fl_head[h].next; fl; prevfl = fl, fl = fl->next) { if (ino == fl->ino) { - ret = lstat64(fl->file, &sb); + ret = lstat(fl->file, &sb); if (ret < 0 || sb.st_ino != ino) { freecon(fl->con); free(fl->file);