diff options
author | Chris Johns <chrisj@rtems.org> | 2008-08-06 04:17:46 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2008-08-06 04:17:46 +0000 |
commit | b7898e271c945df19960b72803c37fbd1198082e (patch) | |
tree | 6cd6d566719efbe52b29105bd325c9ad8fdae77a /cpukit/libblock | |
parent | 2008-08-06 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-b7898e271c945df19960b72803c37fbd1198082e.tar.bz2 |
2008-08-06 Brett Swimley <brett.swimley@aedbozeman.com>
* libblock/src/diskdevs.c: PR1192. Update the disktap pointer
after the realloc.
Diffstat (limited to 'cpukit/libblock')
-rw-r--r-- | cpukit/libblock/src/diskdevs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libblock/src/diskdevs.c b/cpukit/libblock/src/diskdevs.c index 2706e51a26..35332c4b87 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(rtems_disk_device_table) * newsize); if (p == NULL) return NULL; + disktab = p; p += disktab_size; for (i = disktab_size; i < newsize; i++, p++) { |