diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-08-10 14:45:22 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-08-10 14:45:22 +0000 |
commit | a263ce5cbfbb8e13545551d3effed53146e733de (patch) | |
tree | 2479fcfb4868057f1c488ae76f66f9ec2d2d583b /testsuites/libtests/termios01 | |
parent | 2010-08-10 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-a263ce5cbfbb8e13545551d3effed53146e733de.tar.bz2 |
2010-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1664/testing
* termios01/init.c: Use INT_MAX instead of hard-coded number for error
case to avoid warning on 16-bit targets.
Diffstat (limited to 'testsuites/libtests/termios01')
-rw-r--r-- | testsuites/libtests/termios01/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/libtests/termios01/init.c b/testsuites/libtests/termios01/init.c index ce2afe456d..fddd00e024 100644 --- a/testsuites/libtests/termios01/init.c +++ b/testsuites/libtests/termios01/init.c @@ -497,7 +497,7 @@ rtems_task Init( * tcsetattr - ERROR invalid operation */ puts( "tcsetattr - invalid operation - ENOTSUP" ); - rc = tcsetattr( test, 0x12345, &t ); + rc = tcsetattr( test, INT_MAX, &t ); rtems_test_assert( rc == -1 ); rtems_test_assert( errno == ENOTSUP ); |