[dm-devel] dmraid/lib/device scsi.c
heinzm at sourceware.org
heinzm at sourceware.org
Fri Oct 31 12:22:35 UTC 2008
CVSROOT: /cvs/dm
Module name: dmraid
Changes by: heinzm at 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);
More information about the dm-devel
mailing list