diff options
author | Kinsey Moore <kinsey.moore@oarcorp.com> | 2024-01-22 15:53:27 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2024-01-29 11:08:19 -0600 |
commit | 9a95f9c6389d6596ef812390168202a9e7538959 (patch) | |
tree | ad7d4fd93147879b36348c4cbc3fbbac46c3fc0e | |
parent | cpukit/cache: Report coherent add area failures (diff) | |
download | rtems-9a95f9c6389d6596ef812390168202a9e7538959.tar.bz2 |
cpukit/libblock: Ignore return value on error path
-rw-r--r-- | cpukit/libblock/src/media.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libblock/src/media.c b/cpukit/libblock/src/media.c index 482cdc4fb0..1ab7dd2034 100644 --- a/cpukit/libblock/src/media.c +++ b/cpukit/libblock/src/media.c @@ -519,7 +519,7 @@ static rtems_status_code mount_worker( &mount_options ); if (rv != 0) { - rmdir(mount_path); + (void) rmdir(mount_path); free(mount_path); (*mount_options.converter->handler->destroy)(mount_options.converter); |