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:01:58 +00:00
parent 1aca38c659
commit 15bcb4113c
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-06-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libmd/md5.h: Define MD5_DIGEST_SIZE.

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