dmraid/lib/device scsi.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



CVSROOT:	/cvs/dm
Module name:	dmraid
Changes by:	heinzm@xxxxxxxxxxxxxx	2008-10-31 12:22:35

Modified files:
	lib/device     : scsi.c 

Log message:
	Reverting white space removal until we find a better solution to handle serial numbers

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/lib/device/scsi.c.diff?cvsroot=dm&r1=1.3&r2=1.4

--- dmraid/lib/device/scsi.c	2008/09/19 14:31:11	1.3
+++ dmraid/lib/device/scsi.c	2008/10/31 12:22:35	1.4
@@ -110,7 +110,7 @@
 		}
 
 		ret = ret &&
-		     (di->serial = dbg_strdup((char *) &response[p->start + 1]));
+		      (di->serial = dbg_strdup(remove_white_space (lc, (char *) &response[p->start + 1], serial_len)));
 	}
 
 	dbg_free(response);

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux