From owner-cvs-src-old@FreeBSD.ORG Sun Aug 16 21:32:31 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D12C1065692 for ; Sun, 16 Aug 2009 21:32:31 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5B75B8FC66 for ; Sun, 16 Aug 2009 21:32:31 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n7GLWVf9032482 for ; Sun, 16 Aug 2009 21:32:31 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n7GLWVt7032481 for cvs-src-old@freebsd.org; Sun, 16 Aug 2009 21:32:31 GMT (envelope-from marcel@repoman.freebsd.org) Message-Id: <200908162132.n7GLWVt7032481@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marcel@repoman.freebsd.org using -f From: Marcel Moolenaar Date: Sun, 16 Aug 2009 21:32:12 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sbin/geom/class/part geom_part.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Aug 2009 21:32:31 -0000 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