diff options
author | 2011-06-03 18:22:25 +0000 | |
---|---|---|
committer | 2011-06-03 18:22:25 +0000 | |
commit | a80ef0a151ee0ed6807aa1b70bdd31a5fcde7bdb (patch) | |
tree | e9a3b6744eaffbcb7ca06d9e6369b8c9f1a41328 /sys/kern/subr_disk.c | |
parent | don't forget to send the initial clock tick (diff) | |
download | wireguard-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