summaryrefslogtreecommitdiffstats
path: root/compat/waitpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/waitpid.c')
-rw-r--r--compat/waitpid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/waitpid.c b/compat/waitpid.c
index d4473a8..8f65799 100644
--- a/compat/waitpid.c
+++ b/compat/waitpid.c
@@ -1,4 +1,4 @@
-/*
+/*
* waitpid.c --
*
* This procedure emulates the POSIX waitpid kernel call on BSD systems
@@ -100,7 +100,7 @@ waitpid(
} else {
prevPtr->nextPtr = waitPtr->nextPtr;
}
- ckfree(waitPtr);
+ ckfree((char *) waitPtr);
return result;
}