mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-25 13:57:15 +00:00
2008-08-06 Brett Swimley <brett.swimley@aedbozeman.com>
* libblock/src/diskdevs.c: PR1192. Update the disktap pointer after the realloc.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-08-06 Brett Swimley <brett.swimley@aedbozeman.com>
|
||||
|
||||
* libblock/src/diskdevs.c: PR1192. Update the disktap pointer
|
||||
after the realloc.
|
||||
|
||||
2008-08-06 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* libblock/src/diskdevs.c: PR1269. Delete the semaphore rather
|
||||
|
||||
@@ -84,6 +84,7 @@ create_disk_entry(dev_t dev)
|
||||
p = realloc(disktab, sizeof(rtems_disk_device_table) * newsize);
|
||||
if (p == NULL)
|
||||
return NULL;
|
||||
disktab = p;
|
||||
p += disktab_size;
|
||||
for (i = disktab_size; i < newsize; i++, p++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user