diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-04-20 13:50:54 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-04-20 13:50:54 +0000 |
commit | 1fbd283c2b5e92c1e9450c5e5486a73427b3ba23 (patch) | |
tree | 885778f8554a02bc196578268a418003299a7eac /testsuites/psxtests/psxreaddir/test.c | |
parent | 2001-04-20 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-1fbd283c2b5e92c1e9450c5e5486a73427b3ba23.tar.bz2 |
2001-04-20 Joel Sherrill <joel@OARcorp.com>
* psx04/init.c, psx04/psx04.scn, psx07/init.c, psx07/psx07.scn,
psxfile01/psxfile01.scn, psxmsgq01/psxmsgq01.scn,
psxreaddir/test.c, psxstat/psxstat.scn, psxstat/test.c,
psxtime/psxtime.scn, psxtimer/psxtimer.scn:
Various adjustments so test output matches screens more reliably.
Diffstat (limited to '')
-rw-r--r-- | testsuites/psxtests/psxreaddir/test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/psxtests/psxreaddir/test.c b/testsuites/psxtests/psxreaddir/test.c index 7e8f031034..0bdc186e5f 100644 --- a/testsuites/psxtests/psxreaddir/test.c +++ b/testsuites/psxtests/psxreaddir/test.c @@ -54,12 +54,12 @@ void printdir( DIR *directory ) { struct dirent *d; - printf( " %-20s %8s %8s %8s %4s\n", - " name", "inode", " offset", "reclen", " type" ); + printf( "%-20s %8s %8s %8s %4s\n", + "name", " inode", " offset", "reclen", " type" ); d = readdir(directory); while (d) { - printf( " %-20s %8d %8d %6d 0x%04x\n", + printf( "%-20s %8d %8d %6d 0x%04x\n", d->d_name, (int)d->d_ino, (int)d->d_off, d->d_reclen, d->d_type ); d = readdir(directory); @@ -263,7 +263,7 @@ int main( status = mkdir( "/many", 0x1c0 ); status = chdir( "/many" ); for (i = 0; i<44; i++) { - printf(" Create %s\n", many_files[i]); + printf("Create %s\n", many_files[i]); fd = open (many_files[i], O_CREAT, S_IRWXU); close (fd); } |