aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/pexecute.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 46ab074..acdfad0 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2006-02-21 Ben Elliston <bje@au.ibm.com>
+
+ * pexecute.c (pwait): Syntax fix for previous change.
+
2006-02-17 Uttam Pawar <uttamp@us.ibm.com>
* pexecute.c (pwait): Free vector pointer.
diff --git a/libiberty/pexecute.c b/libiberty/pexecute.c
index fa65fe8..97f1574 100644
--- a/libiberty/pexecute.c
+++ b/libiberty/pexecute.c
@@ -102,7 +102,7 @@ pwait (int pid, int *status, int flags ATTRIBUTE_UNUSED)
vector = XNEWVEC (int, idx);
if (!pex_get_status (pex, idx, vector))
{
- free (vector)
+ free (vector);
return -1;
}
*status = vector[pid];