* winsup.api/systemcall.c (main): Change some messages for clarity.
This commit is contained in:
parent
ca7320ac2c
commit
291ae2c1e7
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue