2002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* mw-fb/mw_uid.c: Apply rtems_set_errno_and_return_minus_one.
This commit is contained in:
Joel Sherrill
2002-01-04 18:32:48 +00:00
parent b2709481ec
commit f8a913dad4
4 changed files with 20 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mw-fb/mw_uid.c: Apply rtems_set_errno_and_return_minus_one.
2001-10-12 Joel Sherrill <joel@OARcorp.com>
* rootfs/mkrootfs.c, rootfs/mkrootfs.h: Fixed typo.

View File

@@ -13,6 +13,11 @@
// MODIFICATION/HISTORY:
//
// $Log$
// Revision 1.3 2000/11/30 14:36:46 joel
// 2000-11-30 Joel Sherrill <joel@OARcorp.com>
//
// * mw-fb/mw_uid.c: Removed unnecessary dependency on <bsp.h>.
//
// Revision 1.2 2000/08/30 17:12:55 joel
// 2000-08-30 Joel Sherrill <joel@OARcorp.com>
//
@@ -127,7 +132,7 @@ int uid_read_message( struct MW_UID_MESSAGE *m, unsigned long timeout )
else if( ( status == RTEMS_UNSATISFIED ) || ( status == RTEMS_TIMEOUT ) )
{
/* this macro returns -1 */
set_errno_and_return_minus_one( ETIMEDOUT );
rtems_set_errno_and_return_minus_one( ETIMEDOUT );
}
/* Here we have one error condition */
#ifdef MW_DEBUG_ON

View File

@@ -1,3 +1,7 @@
2002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mw-fb/mw_uid.c: Apply rtems_set_errno_and_return_minus_one.
2001-10-12 Joel Sherrill <joel@OARcorp.com>
* rootfs/mkrootfs.c, rootfs/mkrootfs.h: Fixed typo.

View File

@@ -13,6 +13,11 @@
// MODIFICATION/HISTORY:
//
// $Log$
// Revision 1.3 2000/11/30 14:36:46 joel
// 2000-11-30 Joel Sherrill <joel@OARcorp.com>
//
// * mw-fb/mw_uid.c: Removed unnecessary dependency on <bsp.h>.
//
// Revision 1.2 2000/08/30 17:12:55 joel
// 2000-08-30 Joel Sherrill <joel@OARcorp.com>
//
@@ -127,7 +132,7 @@ int uid_read_message( struct MW_UID_MESSAGE *m, unsigned long timeout )
else if( ( status == RTEMS_UNSATISFIED ) || ( status == RTEMS_TIMEOUT ) )
{
/* this macro returns -1 */
set_errno_and_return_minus_one( ETIMEDOUT );
rtems_set_errno_and_return_minus_one( ETIMEDOUT );
}
/* Here we have one error condition */
#ifdef MW_DEBUG_ON