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:
Joel Sherrill
2010-06-14 13:02:29 +00:00
parent 45ef86e160
commit 9257060300
2 changed files with 9 additions and 0 deletions

View File

@@ -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

View File

@@ -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;
}
}