rpms/kernel/devel linux-2.6-cdrom-door-status.patch,1.2,1.3

Peter Jones pjones at fedoraproject.org
Mon Dec 15 19:21:53 UTC 2008


Author: pjones

Update of /cvs/extras/rpms/kernel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18271

Modified Files:
	linux-2.6-cdrom-door-status.patch 
Log Message:
Fix typo ( & was there instead of && ) .


linux-2.6-cdrom-door-status.patch:

Index: linux-2.6-cdrom-door-status.patch
===================================================================
RCS file: /cvs/extras/rpms/kernel/devel/linux-2.6-cdrom-door-status.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- linux-2.6-cdrom-door-status.patch	9 Oct 2008 18:18:52 -0000	1.2
+++ linux-2.6-cdrom-door-status.patch	15 Dec 2008 19:21:23 -0000	1.3
@@ -27,7 +27,7 @@
  		return CDS_DISC_OK;
  
 +	/* SK/ASC/ASCQ of 2/4/1 means "unit is becoming ready" */
-+	if (scsi_sense_valid(&sshdr) & sshdr.sense_key == NOT_READY
++	if (scsi_sense_valid(&sshdr) && sshdr.sense_key == NOT_READY
 +			&& sshdr.asc == 0x04 && sshdr.ascq == 0x01)
 +		return CDS_DRIVE_NOT_READY;
 +




More information about the fedora-extras-commits mailing list