diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-06-03 18:22:26 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-06-03 18:22:26 +0000 |
commit | c3fd306dbef5026ffc4867083366c85a072ae7af (patch) | |
tree | 042476b904f5f8929f1fc18dcb928408a39e2bc4 /lib/libc/rpc | |
parent | ebb93f295da05af01af29361adc5b83b1e5f1a0b (diff) |
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 'lib/libc/rpc')
0 files changed, 0 insertions, 0 deletions