* winsup.api/systemcall.c (main): Change some messages for clarity.

This commit is contained in:
Christopher Faylor 2001-10-05 02:47:28 +00:00
parent ca7320ac2c
commit 291ae2c1e7
2 changed files with 6 additions and 2 deletions

View File

@ -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.

View File

@ -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);