From owner-svn-src-stable@FreeBSD.ORG Thu Oct 27 20:23:03 2011 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF8841065670; Thu, 27 Oct 2011 20:23:03 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id BECD68FC08; Thu, 27 Oct 2011 20:23:03 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p9RKN3qf023661; Thu, 27 Oct 2011 20:23:03 GMT (envelope-from ae@svn.freebsd.org) Received: (from ae@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p9RKN3ad023659; Thu, 27 Oct 2011 20:23:03 GMT (envelope-from ae@svn.freebsd.org) Message-Id: <201110272023.p9RKN3ad023659@svn.freebsd.org> From: "Andrey V. Elsukov" Date: Thu, 27 Oct 2011 20:23:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r226858 - stable/9/usr.sbin/boot0cfg X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2011 20:23:03 -0000 Author: ae Date: Thu Oct 27 20:23:03 2011 New Revision: 226858 URL: http://svn.freebsd.org/changeset/base/226858 Log: MFC r226714: Fix argument name. This fixes EINVAL when boot0cfg uses GEOM_PART' control interface. Approved by: re (kib) Modified: stable/9/usr.sbin/boot0cfg/boot0cfg.c Directory Properties: stable/9/usr.sbin/boot0cfg/ (props changed) Modified: stable/9/usr.sbin/boot0cfg/boot0cfg.c ============================================================================== --- stable/9/usr.sbin/boot0cfg/boot0cfg.c Thu Oct 27 20:15:37 2011 (r226857) +++ stable/9/usr.sbin/boot0cfg/boot0cfg.c Thu Oct 27 20:23:03 2011 (r226858) @@ -378,7 +378,7 @@ write_mbr(const char *fname, int flags, } grq = gctl_get_handle(); gctl_ro_param(grq, "class", -1, "PART"); - gctl_ro_param(grq, "geom", -1, pname); + gctl_ro_param(grq, "arg0", -1, pname); gctl_ro_param(grq, "verb", -1, "bootcode"); gctl_ro_param(grq, "bootcode", mbr_size, mbr); gctl_ro_param(grq, "flags", -1, "C");