diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-06 21:02:08 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-06 21:02:08 +0000 |
commit | 0f4856601e60fad584efe288d63ca37336d6488a (patch) | |
tree | 2c3f9111bb8ab782407a6911755218f592154f41 | |
parent | 2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-0f4856601e60fad584efe288d63ca37336d6488a.tar.bz2 |
2008-08-06 Brett Swimley <brett.swimley@aedbozeman.com>
PR 1192/filesystem
* libblock/src/diskdevs.c: Update the disktap pointer after the
realloc.
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/libblock/src/diskdevs.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index a10832565a..85bdcc9553 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -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 diff --git a/cpukit/libblock/src/diskdevs.c b/cpukit/libblock/src/diskdevs.c index 25b8287610..cf18e82537 100644 --- a/cpukit/libblock/src/diskdevs.c +++ b/cpukit/libblock/src/diskdevs.c @@ -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++) { |