[420] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Small scsi.c typo/thinko...

daemon@ATHENA.MIT.EDU (David S. Miller)
Mon Jul 24 16:43:54 1995

Date: Mon, 24 Jul 1995 05:42:35 -0400
From: "David S. Miller" <davem@caip.rutgers.edu>
To: linux-scsi@vger.rutgers.edu
CC: linux-kernel@vger.rutgers.edu


--- linux/drivers/scsi/scsi.c.~1~	Tue Jul 11 00:56:04 1995
+++ linux/drivers/scsi/scsi.c	Mon Jul 24 05:40:51 1995
@@ -757,7 +757,7 @@
     if(SDpnt != NULL)
 	scsi_init_free((char *) SDpnt, sizeof(Scsi_Device));
     
-    if(SDpnt != NULL)
+    if(SCpnt != NULL)
 	scsi_init_free((char *) SCpnt, sizeof(Scsi_Cmnd));
     
     /* If we allocated a buffer so we could do DMA, free it now */

home help back first fref pref prev next nref lref last post