Date: Sun, 16 Aug 2009 21:27:35 +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: <200908162127.n7GLRt1u032150@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2009-08-16 21:27:35 UTC
FreeBSD src repository
Modified files:
sbin/geom/class/part geom_part.c
Log:
SVN rev 196278 on 2009-08-16 21:27:35Z by marcel
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.
Submitted by: "Andrey V. Elsukov" <bu7cher@yandex.ru>
Approved by: re (kib)
Revision Changes Path
1.21 +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?200908162127.n7GLRt1u032150>
