summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfile01/test.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-02 16:38:19 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-02 16:38:19 +0000
commit78edd4446b55fa9a1df5270736585b2b6d135028 (patch)
treeba788750ccda1a58537668e9fab7d911eda19916 /testsuites/psxtests/psxfile01/test.c
parentAdded more proper checking of F_GETFL and F_SETFL. (diff)
downloadrtems-78edd4446b55fa9a1df5270736585b2b6d135028.tar.bz2
Minor fixes to make screen match a bit better.
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psxfile01/test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxfile01/test.c b/testsuites/psxtests/psxfile01/test.c
index 4b084a81d1..fa94193f10 100644
--- a/testsuites/psxtests/psxfile01/test.c
+++ b/testsuites/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];