From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduardo Pereira Habkost Subject: [patch] Fix compile error when using debug Date: Wed, 2 Jun 2004 10:28:14 -0300 Sender: linux-8086-owner@vger.kernel.org Message-ID: <20040602132813.GA26330@duckman.distro.conectiva> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Return-path: Content-Disposition: inline List-Id: To: linux-8086@vger.kernel.org --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The wrong struct field name was being used. Probably the code wasn't tested with debug enabled. --=20 Eduardo --- elks/arch/i86/drivers/block/doshd.c 12 Jul 2003 08:46:16 -0000 1.27 +++ elks/arch/i86/drivers/block/doshd.c 2 Jun 2004 12:10:14 -0000 @@ -738,7 +738,7 @@ BD_DX =3D (head << 8) | hd_drive_map[drive]; BD_FL =3D 0; debug5("cylinder=3D%d head=3D%d sector=3D%d drive=3D%d CMD=3D%d\n", - cylinder, head, sector, drive, req->cmd); + cylinder, head, sector, drive, req->rq_cmd); debug1("blocks %d\n", this_pass); set_irq(); call_bios(); --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAvdXtcaRJ66w1lWgRAqf9AJ9t+69Cdk1QR6+Zpizkzk74XYzdPwCbBkUI C8IBpK3b+ml8koNY5Li62Jw= =eFaN -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4--