mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2010-06-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1553/filesystem Coverity Id 37 * libblock/src/flashdisk.c: Fix two paths which should have returned an error but did not have the return statement.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2010-06-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
PR 1553/filesystem
|
||||
Coverity Id 37
|
||||
* libblock/src/flashdisk.c: Fix two paths which should have returned an
|
||||
error but did not have the return statement.
|
||||
|
||||
2010-05-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/bsp-alias.m4: Change quoting to work-round
|
||||
|
||||
@@ -2575,6 +2575,7 @@ rtems_fdisk_initialize (rtems_device_major_number major,
|
||||
free (fd->devices);
|
||||
rtems_fdisk_error ("recovery of disk failed: %s (%d)",
|
||||
strerror (ret), ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = rtems_fdisk_compact (fd);
|
||||
@@ -2587,6 +2588,7 @@ rtems_fdisk_initialize (rtems_device_major_number major,
|
||||
free (fd->devices);
|
||||
rtems_fdisk_error ("compacting of disk failed: %s (%d)",
|
||||
strerror (ret), ret);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user