diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-07-13 19:06:28 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-07-13 19:06:28 +0000 |
commit | 9076e8d14f4878d4ce5a17be3820c47d62d4ce83 (patch) | |
tree | 00d7fa48b5d54d1a87f6b4aaf29d80edac056ac7 /cpukit/libcsupport | |
parent | 2007-07-13 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-9076e8d14f4878d4ce5a17be3820c47d62d4ce83.tar.bz2 |
2007-07-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/mount.c: Allow null for output parameter.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/src/mount.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/mount.c b/cpukit/libcsupport/src/mount.c index bec64eb701..7b99dfae7d 100644 --- a/cpukit/libcsupport/src/mount.c +++ b/cpukit/libcsupport/src/mount.c @@ -229,7 +229,8 @@ int mount( Chain_Append( &rtems_filesystem_mount_table_control, &temp_mt_entry->Node ); - *mt_entry = temp_mt_entry; + if ( mt_entry ) + *mt_entry = temp_mt_entry; return 0; |