changeset 10375:95bf396c95cf

6859062 iostat -E does not print correct s/n for tape drives
author bo zhou - Sun Microsystems - Beijing China <Bo.Zhou@Sun.COM>
date Tue, 25 Aug 2009 09:02:21 +0800
parents d40b04ded33e
children 803e1af65252
files usr/src/uts/common/io/scsi/targets/st.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/io/scsi/targets/st.c	Tue Aug 25 08:34:15 2009 +0800
+++ b/usr/src/uts/common/io/scsi/targets/st.c	Tue Aug 25 09:02:21 2009 +0800
@@ -13084,8 +13084,6 @@
 				    ST_INQUIRY->inq_pid, 16);
 				(void) strncpy(&stp->st_revision.value.c[0],
 				    ST_INQUIRY->inq_revision, 4);
-				(void) strncpy(&stp->st_serial.value.c[0],
-				    ST_INQUIRY->inq_serial, 12);
 			}
 		}
 	}