All of lore.kernel.org
 help / color / mirror / Atom feed
* dmraid/lib/device scsi.c
@ 2008-10-31 12:22 heinzm
  0 siblings, 0 replies; only message in thread
From: heinzm @ 2008-10-31 12:22 UTC (permalink / raw)
  To: dm-cvs, dm-devel

CVSROOT:	/cvs/dm
Module name:	dmraid
Changes by:	heinzm@sourceware.org	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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-31 12:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-31 12:22 dmraid/lib/device scsi.c heinzm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.