diff options
author | Christopher Faylor <me@cgf.cx> | 2001-10-05 02:47:28 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-10-05 02:47:28 +0000 |
commit | 291ae2c1e74db2d13d300ddb3fa303a2b39ca41d (patch) | |
tree | 558f4a267fa187cbda533e85f06e0e795f7de1ca /winsup/testsuite | |
parent | ca7320ac2c87ff6ccd0b03b14a6a81697534ed0f (diff) | |
download | newlib-291ae2c1e74db2d13d300ddb3fa303a2b39ca41d.zip newlib-291ae2c1e74db2d13d300ddb3fa303a2b39ca41d.tar.gz newlib-291ae2c1e74db2d13d300ddb3fa303a2b39ca41d.tar.bz2 |
* winsup.api/systemcall.c (main): Change some messages for clarity.
Diffstat (limited to 'winsup/testsuite')
-rw-r--r-- | winsup/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/testsuite/winsup.api/systemcall.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/testsuite/ChangeLog b/winsup/testsuite/ChangeLog index 610c532..54ebc5c 100644 --- a/winsup/testsuite/ChangeLog +++ b/winsup/testsuite/ChangeLog @@ -1,3 +1,7 @@ +Thu Oct 4 22:47:51 2001 Christopher Faylor <cgf@cygnus.com> + + * winsup.api/systemcall.c (main): Change some messages for clarity. + Thu Oct 4 22:19:39 2001 Christopher Faylor <cgf@cygnus.com> * winsup.api/systemcall.c: New file. Check for system call problems. diff --git a/winsup/testsuite/winsup.api/systemcall.c b/winsup/testsuite/winsup.api/systemcall.c index 8121b12..c9a3483 100644 --- a/winsup/testsuite/winsup.api/systemcall.c +++ b/winsup/testsuite/winsup.api/systemcall.c @@ -40,7 +40,7 @@ main (int argc, char **argv) close (fds[1]); if (read (fds[0], buf, 4096) != 0) { - fprintf (stderr, "system call failed?\n%s\n", buf); + fprintf (stderr, "system() call failed?\n%s\n", buf); exit (1); } @@ -51,7 +51,7 @@ main (int argc, char **argv) } if (n != 0) { - fprintf (stderr, "system() call returend %p\n", n); + fprintf (stderr, "system() call returned %p\n", n); exit (1); } exit (0); |