summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diffreg.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2012-07-08 14:30:58 +0000
committerkrw <krw@openbsd.org>2012-07-08 14:30:58 +0000
commit634fef2a6282da1b1d040e8d6617531830222903 (patch)
treeff46df4f518dca7e92a0ddbb4934320391ad23df /usr.bin/diff/diffreg.c
parentMake hibernate_free() safe to be called even if hibernate areas (diff)
downloadwireguard-openbsd-634fef2a6282da1b1d040e8d6617531830222903.tar.xz
wireguard-openbsd-634fef2a6282da1b1d040e8d6617531830222903.zip
Return EROFS when a read-write mount of a read-only sd(4) device
is attempted. This is instead of the current EACCES and is intended to result in better error messages from mount(8). Tweak default EROFS error text to mention fsck'ing in mount_ext2fs and mount_msdos since they both have fsck's like ffs. ok deraadt@ aja@ ian@ phessler@
Diffstat (limited to 'usr.bin/diff/diffreg.c')
0 files changed, 0 insertions, 0 deletions