Date: Sat, 2 Oct 2010 22:18:36 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r213375 - stable/8/sys/geom/part Message-ID: <201010022218.o92MIa0v056384@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ae Date: Sat Oct 2 22:18:36 2010 New Revision: 213375 URL: http://svn.freebsd.org/changeset/base/213375 Log: MFC r212706 (by pjd): Change message when setting or unsetting attribute to be less confusing. Before: ada0 has <attrib> set After: <attrib> set on ada0 Approved by: kib (mentor) Modified: stable/8/sys/geom/part/g_part.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/geom/part/g_part.c ============================================================================== --- stable/8/sys/geom/part/g_part.c Sat Oct 2 22:15:57 2010 (r213374) +++ stable/8/sys/geom/part/g_part.c Sat Oct 2 22:18:36 2010 (r213375) @@ -1091,9 +1091,10 @@ g_part_ctl_setunset(struct gctl_req *req /* Provide feedback if so requested. */ if (gpp->gpp_parms & G_PART_PARM_OUTPUT) { sb = sbuf_new_auto(); - G_PART_FULLNAME(table, entry, sb, gp->name); - sbuf_printf(sb, " has %s %sset\n", gpp->gpp_attrib, + sbuf_printf(sb, "%s %sset on ", gpp->gpp_attrib, (set) ? "" : "un"); + G_PART_FULLNAME(table, entry, sb, gp->name); + sbuf_printf(sb, "\n"); sbuf_finish(sb); gctl_set_param(req, "output", sbuf_data(sb), sbuf_len(sb) + 1); sbuf_delete(sb);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010022218.o92MIa0v056384>