diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-30 10:31:32 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-30 10:31:32 +0000 |
commit | 713185fd3f853d1518d0dd2b23a1317ecc01041d (patch) | |
tree | 3c388d4c2b0576956f2dbb12ec8930e5354104d1 | |
parent | 2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-713185fd3f853d1518d0dd2b23a1317ecc01041d.tar.bz2 |
Use INT_MAX instead of 0xffffffff in call to kill() for 16bit compliance.
-rw-r--r-- | testsuites/psxtests/psx04/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psx04/init.c b/testsuites/psxtests/psx04/init.c index 45f1a067cb..93719127d4 100644 --- a/testsuites/psxtests/psx04/init.c +++ b/testsuites/psxtests/psx04/init.c @@ -560,7 +560,7 @@ void *POSIX_Init( assert( !status ); puts( "Init: pthread_kill - SUCCESSFUL (signal = SIG_IGN)" ); - status = kill( 0x7fffffff, SIGUSR1 ); + status = kill( INT_MAX, SIGUSR1 ); if ( status != -1 ) printf( "status = %d\n", status ); assert( errno == ESRCH ); |