Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Dec 2008 16:03:41 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-geom@freebsd.org
Subject:   Re: (trivial) patch to add provider name to printed warning
Message-ID:  <gh0ucd$lv0$1@ger.gmane.org>
In-Reply-To: <gh0da6$pvt$1@ger.gmane.org>
References:  <20081130225805.GA27328@keira.kiwi-computer.com>	<20081130233255.GA27667@keira.kiwi-computer.com> <gh0da6$pvt$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gh0ucd$lv0$1>