17 lines
558 B
Diff
17 lines
558 B
Diff
Index: 1.0.0.rc15/lib/device/scsi.c
|
|
===================================================================
|
|
--- 1.0.0.rc15.orig/lib/device/scsi.c 2008-09-17 15:20:33.000000000 +0200
|
|
+++ 1.0.0.rc15/lib/device/scsi.c 2008-10-14 15:45:20.000000000 +0200
|
|
@@ -110,7 +110,10 @@ get_scsi_serial(struct lib_context *lc,
|
|
}
|
|
|
|
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);
|