summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/truss/setup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/truss/setup.c b/usr.bin/truss/setup.c
index aa1c770..53a6fe1 100644
--- a/usr.bin/truss/setup.c
+++ b/usr.bin/truss/setup.c
@@ -1,4 +1,4 @@
-/*
+/*-
* Copryight 1997 Sean Eric Fagan
*
* Redistribution and use in source and binary forms, with or without
@@ -214,8 +214,8 @@ waitevent(struct trussinfo *info)
}
}
if (WIFSIGNALED(waitval)) {
- info->pr_why = S_EXIT;
- info->pr_why = 0;
- return;
+ info->pr_why = S_EXIT;
+ info->pr_data = 0;
+ return;
}
}
OpenPOWER on IntegriCloud