]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC change 196278:
authormarcel <marcel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 16 Aug 2009 21:32:12 +0000 (21:32 +0000)
committermarcel <marcel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 16 Aug 2009 21:32:12 +0000 (21:32 +0000)
commitf56a280accc8c32aab27455ddce52254122fc827
tree65673db691ac6b0bf6ad4c79706ea651e64c067c
parent371d619090fca08c80d6270c035668b6d7894734
MFC change 196278:
 Emit a proper error message instead of dumping core when 1)
 GEOM_PART does not exist in the kernel, and 2) the GEOM in
 question does not exist.
 Additionally abort in case of programming errors that result
 in neither the class nor geom not being present in the gctl
 request.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@196279 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/geom/class/part/geom_part.c