forked from Imagelibrary/rtems
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* include/tmacros.h: Attempt to print errno as further information.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2001-08-16 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* include/tmacros.h: Attempt to print errno as further information.
|
||||
|
||||
2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
|
||||
|
||||
@@ -91,8 +91,10 @@ extern "C" {
|
||||
do { \
|
||||
check_dispatch_disable_level( _level ); \
|
||||
if ( (_stat) != (_desired) ) { \
|
||||
printf( "\n%s FAILED -- expected (%s) got (%s)\n", \
|
||||
(_msg), strerror(_desired), strerror(_stat) ); \
|
||||
printf( "\n%s FAILED -- expected (%d - %s) got (%d - %s)\n", \
|
||||
(_msg), _desired, strerror(_desired), _stat, strerror(_stat) ); \
|
||||
printf( "\n FAILED -- errno (%d - %s)\n", \
|
||||
errno, strerror(errno) ); \
|
||||
fflush(stdout); \
|
||||
exit( _stat ); \
|
||||
} \
|
||||
|
||||
Reference in New Issue
Block a user