summaryrefslogtreecommitdiff
path: root/lib/libc/sys/fcntl.2
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2015-11-18 02:32:57 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2015-11-18 02:32:57 +0000
commit4b744b8270992e26ce5340e5ddb5fd5aa4c5a60a (patch)
treed88ebb799ed09cff46d2a3db5cd85b2cd0e384c6 /lib/libc/sys/fcntl.2
parent97021d33639128465c1cc20b4ec2d8b7fa085596 (diff)
Rejig the MBR file reading logic so
1) If mbr_file is NULL use built-in mbr for -i, -u and 'reinit'. 2) If mbr_file cannot be opened issue a warning and use built-in mbr for -i, -u, and 'reinit'. 3) If mbr_file can't be read, bail out of fdisk. 4) Use the mbr read from mbr_file for -i, -u, and 'reinit'. Remove inappropriate GPT dancing. This restores pre-GPT-editing mbr_file handling and makes the logic clearer at the expense of a tiny bit of duplication.
Diffstat (limited to 'lib/libc/sys/fcntl.2')
0 files changed, 0 insertions, 0 deletions