diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-02 16:38:19 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-02 16:38:19 +0000 |
commit | 78edd4446b55fa9a1df5270736585b2b6d135028 (patch) | |
tree | ba788750ccda1a58537668e9fab7d911eda19916 /c/src/tests/psxtests/psxfile01/test.c | |
parent | Added more proper checking of F_GETFL and F_SETFL. (diff) | |
download | rtems-78edd4446b55fa9a1df5270736585b2b6d135028.tar.bz2 |
Minor fixes to make screen match a bit better.
Diffstat (limited to '')
-rw-r--r-- | c/src/tests/psxtests/psxfile01/test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/tests/psxtests/psxfile01/test.c b/c/src/tests/psxtests/psxfile01/test.c index 4b084a81d1..fa94193f10 100644 --- a/c/src/tests/psxtests/psxfile01/test.c +++ b/c/src/tests/psxtests/psxfile01/test.c @@ -77,7 +77,8 @@ void dump_statbuf( struct stat *buf ) rtems_filesystem_split_dev_t( buf->st_rdev, major2, minor2 ); printf( "....st_dev (0x%x:0x%x)\n", major1, minor1 ); - printf( "....st_ino %x\n", buf->st_ino ); + printf( "....st_ino %x may vary by small amount\n", + (unsigned int) buf->st_ino ); printf( "....mode = %08o\n", buf->st_mode ); printf( "....nlink = %d\n", buf->st_nlink ); @@ -112,6 +113,7 @@ void stat_a_file( if ( status == -1 ) { printf( ": %s\n", strerror( errno ) ); } else { + puts(""); dump_statbuf( &statbuf ); } @@ -133,7 +135,7 @@ int main( { int status; int max_size; - int fd, fd1; + int fd; int i; struct stat buf; char buffer[128]; |