Fix disklabel(1) core dump.
authorNicolas Thery <nthery@gmail.com>
Fri, 28 Nov 2008 16:52:27 +0000 (17:52 +0100)
committerNicolas Thery <nthery@gmail.com>
Fri, 28 Nov 2008 16:52:27 +0000 (17:52 +0100)
commit37b93035d15ba028b18c980e2c3b68b0ffcc1beb
tree019f56c1074ffcf4d830bc5dff6275aa5af89490
parentd6c01dc6e6af9a6c5bfc5f4cb72efc5e91a8fb18
Fix disklabel(1) core dump.

The core dump occured when label line countained no fstype.  Now
displays an error message instead.

Submitted-by: Antonio Huete Jimenez <ahuete.devel@gmail.com>
sbin/disklabel/disklabel.c