diff --git a/release/sysinstall/uc_scsi.c b/release/sysinstall/uc_scsi.c index 3476d32473be..5672a1b2614a 100644 --- a/release/sysinstall/uc_scsi.c +++ b/release/sysinstall/uc_scsi.c @@ -163,7 +163,7 @@ get_scsi_info(struct kernel *kp){ sbp=(struct uc_scsibus *)realloc(sbp, sizeof(struct uc_scsibus)* (nscsibus+1)); - sbpc=sbp+nscsibus+1; + sbpc=sbp+nscsibus; bzero(sbpc, sizeof(struct uc_scsibus)); kp->scsi_devp=sp;