Diff for /embedaddon/smartmontools/scsicmds.cpp between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2013/07/22 01:17:35 version 1.1.1.3, 2013/10/14 07:54:04
Line 40 Line 40
 #include <stdio.h>  #include <stdio.h>
 #include <string.h>  #include <string.h>
 #include <errno.h>  #include <errno.h>
   #include <ctype.h>
   
 #include "config.h"  #include "config.h"
 #include "int64.h"  #include "int64.h"
Line 1227  uint64_t Line 1228  uint64_t
 scsiGetSize(scsi_device * device, unsigned int * lb_sizep,  scsiGetSize(scsi_device * device, unsigned int * lb_sizep,
             int * lb_per_pb_expp)              int * lb_per_pb_expp)
 {  {
    unsigned int last_lba, lb_size;    unsigned int last_lba = 0, lb_size = 0;
     int k, res;      int k, res;
     uint64_t ret_val = 0;      uint64_t ret_val = 0;
     UINT8 rc16resp[32];      UINT8 rc16resp[32];

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>