* libblock/src/diskdevs.c: PR1192. Update the disktap pointer
	after the realloc.
This commit is contained in:
Chris Johns
2008-08-06 04:17:46 +00:00
parent 904ced08bb
commit b7898e271c
2 changed files with 6 additions and 0 deletions

View File

@@ -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

View File

@@ -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++)
{