summaryrefslogtreecommitdiff
path: root/usr.sbin/user
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2021-07-26 13:05:15 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2021-07-26 13:05:15 +0000
commit798a0d3235559f3d8fc8514e2a7f96f0b31e9064 (patch)
treef584564150197f37c049b4798237d961a8137829 /usr.sbin/user
parent4e3cf37d7e07f929ee156c60e13903f3f5ecb70a (diff)
Report write() and ioctl() errors encountered when writing GPT or MBR to disk.
Consolidate GPT/MBR read()/write() operations into DISK_writesectors() and DISK_readsectors(), producing clearer logic and consistent handling of i/o and errors. Add some DPRINTF() and #ifdef DEBUG sections to allow more detailed error reporting when desired.
Diffstat (limited to 'usr.sbin/user')
0 files changed, 0 insertions, 0 deletions