summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_disk.c
diff options
context:
space:
mode:
authormatthew <matthew@openbsd.org>2011-06-03 18:22:25 +0000
committermatthew <matthew@openbsd.org>2011-06-03 18:22:25 +0000
commita80ef0a151ee0ed6807aa1b70bdd31a5fcde7bdb (patch)
treee9a3b6744eaffbcb7ca06d9e6369b8c9f1a41328 /sys/kern/subr_disk.c
parentdon't forget to send the initial clock tick (diff)
downloadwireguard-openbsd-a80ef0a151ee0ed6807aa1b70bdd31a5fcde7bdb.tar.xz
wireguard-openbsd-a80ef0a151ee0ed6807aa1b70bdd31a5fcde7bdb.zip
Fix two compile errors in mcd(4) due to bitrot:
1. Need to include <sys/dkio.h> since <sys/ioctl.h> no longer includes it. 2. readdisklabel() returns an int, not an error string, so update mcdgetdisklabel() accordingly. The return value is just ignored currently, but that's no worse than cdgetdisklabel() in cd(4)... Apparently no one has needed mcd(4) in the last two years.
Diffstat (limited to 'sys/kern/subr_disk.c')
0 files changed, 0 insertions, 0 deletions