From owner-freebsd-geom@FreeBSD.ORG Mon Dec 1 15:03:54 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 379841065670 for ; Mon, 1 Dec 2008 15:03:54 +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 AC47E8FC2A for ; Mon, 1 Dec 2008 15:03:53 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L7AJQ-0000hX-Dq for freebsd-geom@freebsd.org; Mon, 01 Dec 2008 15:03:48 +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 15:03:48 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Dec 2008 15:03:48 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Mon, 01 Dec 2008 16:03:41 +0100 Lines: 49 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="------------enig272AC0B561FA39189D203593" 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: 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 15:03:54 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig272AC0B561FA39189D203593 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ivan Voras wrote: > 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 canno= t >>> be NULL here. Thanks, >> D'oh, the attachment was filtered. Here it is inline... >=20 > I can take it. http://svn.freebsd.org/changeset/base/185518 >=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 >=20 --------------enig272AC0B561FA39189D203593 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 iD8DBQFJM/zNldnAQVacBcgRAjgsAKDWOUVF6w9Kew6So34pizWDZjvXZgCgi6V1 dc1jpqR2Qp9hsaOtOOCOYts= =sjSy -----END PGP SIGNATURE----- --------------enig272AC0B561FA39189D203593--