summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/wbuf.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-05-31 08:32:29 +0000
committerderaadt <deraadt@openbsd.org>1997-05-31 08:32:29 +0000
commiteea97353346af0a578ded1b67382fba6f176746e (patch)
tree123c7ba4dad17a626f3558766f847ca7efd57274 /lib/libc/stdio/wbuf.c
parentwarn instead of warnx; kleink (diff)
downloadwireguard-openbsd-eea97353346af0a578ded1b67382fba6f176746e.tar.xz
wireguard-openbsd-eea97353346af0a578ded1b67382fba6f176746e.zip
lukem: Determine filesystem level (ref: fsck_ffs(8) -c ...) and display it.
Code was derivied from observing how fsck_ffs `upgrades' to a given level, and has been tested on recent NetBSD filesystems (reports as "3"), SunOS ("1"), and ULTRIX ("0"). I haven't found a filesystem of level "2" to test, but the code should detect it. Fixes [bin/1353]
Diffstat (limited to 'lib/libc/stdio/wbuf.c')
0 files changed, 0 insertions, 0 deletions