Date: Sun, 16 Aug 2009 21:32:12 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/geom/class/part geom_part.c Message-ID: <200908162132.n7GLWVt7032481@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2009-08-16 21:32:12 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sbin/geom/class/part geom_part.c
Log:
SVN rev 196279 on 2009-08-16 21:32:12Z by marcel
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)
Revision Changes Path
1.20.2.2 +14 -2 src/sbin/geom/class/part/geom_part.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908162132.n7GLWVt7032481>
