diff options
author | bde <bde@FreeBSD.org> | 1996-12-10 14:07:42 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-12-10 14:07:42 +0000 |
commit | 84d7a45e0aa41ae6d51ea47ca968c2ad5463eb55 (patch) | |
tree | 06a99d49682ffbfc6d521feae1816d2c07d4a14e /lib/libc/regex | |
parent | fcf606e18750e2398cade575f2af4b55e7066f37 (diff) | |
download | FreeBSD-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