Index: VERSION =================================================================== RCS file: /home/cvsroot/scsidev/VERSION,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- VERSION 2000/07/14 23:46:44 1.6 +++ VERSION 2000/08/28 13:17:55 1.7 @@ -1 +1 @@ -2.20 +2.21 Index: scsidev.c =================================================================== RCS file: /home/cvsroot/scsidev/scsidev.c,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- scsidev.c 2000/07/14 23:59:35 1.26 +++ scsidev.c 2000/08/28 13:17:55 1.27 @@ -73,7 +73,7 @@ #include -static char rcsid[] ="$Id: scsidev.c,v 1.26 2000/07/14 23:59:35 garloff Exp $"; +static char rcsid[] ="$Id: scsidev.c,v 1.27 2000/08/28 13:17:55 garloff Exp $"; static char *versid = "scsidev " VERSION " 2000/01/17"; static char *copyright = "Copyright: GNU GPL (see file COPYING)\n" \ " (w) 1994--1997 Eric Youngdale \n"\ @@ -583,6 +583,7 @@ *(int*)hostname = 63; status = ioctl (fd, SCSI_IOCTL_PROBE_HOST, hostname); + hostname[63] = '\0'; //close (fd); spnt->hostname = strdup (hostname);