Date: Sun, 5 Sep 2010 15:50:06 GMT From: Alexander Best <arundel@freebsd.org> To: freebsd-geom@FreeBSD.org Subject: Re: bin/150239: gpart bootcode displays highly ambiguous message Message-ID: <201009051550.o85Fo65n075234@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/150239; it has been noted by GNATS. From: Alexander Best <arundel@freebsd.org> To: bug-followup@freebsd.org Cc: Subject: Re: bin/150239: gpart bootcode displays highly ambiguous message Date: Sun, 5 Sep 2010 15:42:33 +0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline this patch changes the output like you suggested. also my editor discovered an unnecessary space in g_part.c ;) cheers. alex -- a13x --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="g_part.c.diff" diff --git a/sys/geom/part/g_part.c b/sys/geom/part/g_part.c index b9fca08..5efe7ef 100644 --- a/sys/geom/part/g_part.c +++ b/sys/geom/part/g_part.c @@ -571,7 +571,7 @@ g_part_ctl_bootcode(struct gctl_req *req, struct g_part_parms *gpp) /* Provide feedback if so requested. */ if (gpp->gpp_parms & G_PART_PARM_OUTPUT) { sb = sbuf_new_auto(); - sbuf_printf(sb, "%s has bootcode\n", gp->name); + sbuf_printf(sb, "bootcode was written to %s\n", gp->name); sbuf_finish(sb); gctl_set_param(req, "output", sbuf_data(sb), sbuf_len(sb) + 1); sbuf_delete(sb); @@ -967,7 +967,7 @@ g_part_ctl_move(struct gctl_req *req, struct g_part_parms *gpp) { gctl_error(req, "%d verb 'move'", ENOSYS); return (ENOSYS); -} +} static int g_part_ctl_recover(struct gctl_req *req, struct g_part_parms *gpp) --lrZ03NoBR/3+SXJZ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009051550.o85Fo65n075234>