Skip to contentSkip to conversation

dmraid/lib/device scsi.c

PATCH [email protected] 1 participant 1 message Oct 31, 2008 Device mapper

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/dm
Module name: dmraid
Changes by: [email protected] 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

lib/device/scsi.c +1 -1
@@ -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);