forked from Imagelibrary/rtems
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-06-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* libmd/md5.h: Define MD5_DIGEST_SIZE.
|
||||
|
||||
@@ -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