diff options
author | Xin LI <delphij@FreeBSD.org> | 2009-04-13 16:22:38 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2009-04-13 16:22:38 +0000 |
commit | f0bcd5c3fa5d3fa188eae0a71ff60826dbae0db0 (patch) | |
tree | 0624522fbf5851aee0dc18bf06e994912dc5e21f /usr.bin/truss/setup.c | |
parent | 3f772eca329acb3271e189d8030c471083109afd (diff) | |
download | src-f0bcd5c3fa5d3fa188eae0a71ff60826dbae0db0.tar.gz src-f0bcd5c3fa5d3fa188eae0a71ff60826dbae0db0.zip |
Correct a bug where pr_data should have been assigned.
Notes
Notes:
svn path=/head/; revision=191004
Diffstat (limited to 'usr.bin/truss/setup.c')
-rw-r--r-- | usr.bin/truss/setup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/truss/setup.c b/usr.bin/truss/setup.c index aa1c7701c5a5..53a6fe17f227 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; } } |