From owner-freebsd-geom@FreeBSD.ORG Mon Dec 1 10:12:40 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80D821065673 for ; Mon, 1 Dec 2008 10:12:40 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 04ACD8FC13 for ; Mon, 1 Dec 2008 10:12:39 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L75lZ-0007HS-6E for freebsd-geom@freebsd.org; Mon, 01 Dec 2008 10:12:33 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Dec 2008 10:12:33 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Dec 2008 10:12:33 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Mon, 01 Dec 2008 11:12:22 +0100 Lines: 46 Message-ID: References: <20081130225805.GA27328@keira.kiwi-computer.com> <20081130233255.GA27667@keira.kiwi-computer.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9C13428631FB3CDC45ABCE8F" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.18 (X11/20081125) In-Reply-To: <20081130233255.GA27667@keira.kiwi-computer.com> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: (trivial) patch to add provider name to printed warning X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 10:12:40 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9C13428631FB3CDC45ABCE8F Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Rick C. Petty wrote: > On Sun, Nov 30, 2008 at 04:58:05PM -0600, Rick C. Petty wrote: >> Could someone with a commit bit (perhaps phk@) look at the following >> trivial patch? It can't hurt anything, since the provider name cannot= >> be NULL here. Thanks, >=20 > D'oh, the attachment was filtered. Here it is inline... I can take it. >=20 > --- src/sys/geom/geom_bsd.c.orig 2007-12-17 19:24:27.000000000 -0600 > +++ src/sys/geom/geom_bsd.c 2008-11-30 03:09:04.000000000 -0600 > @@ -136,7 +136,8 @@ > } > =09 > if (rawoffset !=3D 0 && (off_t)rawoffset !=3D ms->mbroffset) > - printf("WARNING: Expected rawoffset %jd, found %jd\n", > + printf("WARNING: %s expected rawoffset %jd, found %jd\n", > + gp->name, > (intmax_t)ms->mbroffset/dl.d_secsize, > (intmax_t)rawoffset/dl.d_secsize); > =20 --------------enig9C13428631FB3CDC45ABCE8F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFJM7iGldnAQVacBcgRAvTGAJYzhNJgXH/+ahZFCOczFSnrENbHAJ90ZaVa xE9WmPCO7mHMavnTXEZH9Q== =EGpr -----END PGP SIGNATURE----- --------------enig9C13428631FB3CDC45ABCE8F--