summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-12-10 14:07:42 +0000
committerbde <bde@FreeBSD.org>1996-12-10 14:07:42 +0000
commit84d7a45e0aa41ae6d51ea47ca968c2ad5463eb55 (patch)
tree06a99d49682ffbfc6d521feae1816d2c07d4a14e /lib/libc/regex
parentfcf606e18750e2398cade575f2af4b55e7066f37 (diff)
downloadFreeBSD-src-84d7a45e0aa41ae6d51ea47ca968c2ad5463eb55.zip
FreeBSD-src-84d7a45e0aa41ae6d51ea47ca968c2ad5463eb55.tar.gz
Give up early for empty partitions. The offset for an empty
partition is 0, which is outside the slice unless the disk is dangerously dedicated. There is little error checking later, and following garbage metadata outside the slice usually caused crashes, Empty 'a' partitions are fairly easy to create by cloning the label for the whole disk. Fixed a missing newline in a related error message.
Diffstat (limited to 'lib/libc/regex')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud