mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2008-08-06 Brett Swimley <brett.swimley@aedbozeman.com>
PR 1192/filesystem * libblock/src/diskdevs.c: Update the disktap pointer after the realloc.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2008-08-06 Brett Swimley <brett.swimley@aedbozeman.com>
|
||||
|
||||
PR 1192/filesystem
|
||||
* libblock/src/diskdevs.c: Update the disktap pointer after the
|
||||
realloc.
|
||||
|
||||
2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
PR 741/networking
|
||||
|
||||
@@ -84,6 +84,7 @@ create_disk_entry(dev_t dev)
|
||||
p = realloc(disktab, sizeof(struct 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