secbuf 861 src/simh/sim_disk.c uint8 *secbuf = (uint8 *)calloc (1, ctx->sector_size); /* alloc temp sector buf */ secbuf 862 src/simh/sim_disk.c if (secbuf == NULL) secbuf 865 src/simh/sim_disk.c r = sim_disk_wrsect (uptr, (t_lba)(((((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)) - ctx->sector_size)/ctx->sector_size), secbuf, NULL, 1); /* Write Last Sector */ secbuf 867 src/simh/sim_disk.c r = sim_disk_wrsect (uptr, (t_lba)(0), secbuf, NULL, 1); /* Write First Sector */ secbuf 868 src/simh/sim_disk.c FREE (secbuf);