|
@@ -557,7 +557,7 @@ static int ia_cbr_setup (IADEV *dev, struct atm_vcc *vcc) {
|
|
memcpy((caddr_t)&cbrVC,(caddr_t)TstSchedTbl,sizeof(cbrVC));
|
|
memcpy((caddr_t)&cbrVC,(caddr_t)TstSchedTbl,sizeof(cbrVC));
|
|
} /* while */
|
|
} /* while */
|
|
// Move this VCI number into this location of the CBR Sched table.
|
|
// Move this VCI number into this location of the CBR Sched table.
|
|
- memcpy((caddr_t)TstSchedTbl, (caddr_t)&vcIndex,sizeof(TstSchedTbl));
|
|
|
|
|
|
+ memcpy((caddr_t)TstSchedTbl, (caddr_t)&vcIndex, sizeof(*TstSchedTbl));
|
|
dev->CbrRemEntries--;
|
|
dev->CbrRemEntries--;
|
|
toBeAssigned--;
|
|
toBeAssigned--;
|
|
} /* while */
|
|
} /* while */
|