Fix botched second half of patch.

This commit is contained in:
Andrew Cagney 2011-02-06 14:35:32 -05:00
commit b76a80bb4e

View file

@ -18,11 +18,23 @@
printf ("\n");
abort ();
}
88c88
< printf (" fails (%s)", strerror (errno));
---
> printf (" fails (%s)", strerror (rerrno));
104c104
< if (wif != NULL || errno != reason) {
---
> if (wif != NULL || rerrno != reason) {
--- frysk-0.4/frysk-imports/tests/frysk3595/detach-multi-thread.c.usererrno 2011-02-06 12:54:15.465259998 -0500
+++ frysk-0.4/frysk-imports/tests/frysk3595/detach-multi-thread.c 2011-02-06 12:54:51.845259997 -0500
@@ -85,7 +85,7 @@
// Dump the result
if (rpid < 0) {
- printf (" fails (%s)", strerror (errno));
+ printf (" fails (%s)", strerror (rerrno));
}
else {
printf (" returns 0x%x ", rstatus);
@@ -101,7 +101,7 @@
// validate
if (rpid < 0) {
- if (wif != NULL || errno != reason) {
+ if (wif != NULL || rerrno != reason) {
printf ("\n");
abort ();
}