Project

General

Profile

Submit #3272 ยป 0001-Print-file-offset-for-device-files-too.patch

falsifian, 05/11/2021 10:38 AM

View differences:

usr.bin/fstat/fstat.c
badtype=unknown;
break;
}
}
}
if (checkfile) {
int fsmatch = 0;
DEVS *d;
......
printf(" %3u,%-4u", major(fst.rdev), minor(fst.rdev));
else
printf(" %8s", name);
printf(":%jd", (intmax_t)fst.offset);
break;
case VREG:
printf(" %jd", (intmax_t)fst.offset);
    (1-1/1)