PR 1192/filesystem
	* libblock/src/diskdevs.c: Update the disktap pointer after the
	realloc.
This commit is contained in:
Joel Sherrill
2008-08-06 21:02:08 +00:00
parent 5b9521eddb
commit 0f4856601e
2 changed files with 7 additions and 0 deletions

View File

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

View File

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