summaryrefslogtreecommitdiff
path: root/simpleq.c
diff options
context:
space:
mode:
Diffstat (limited to 'simpleq.c')
-rw-r--r--simpleq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleq.c b/simpleq.c
index 8c55c73..93cc0b6 100644
--- a/simpleq.c
+++ b/simpleq.c
@@ -61,7 +61,7 @@ main(void)
* free up our list
*/
while ((fp = SIMPLEQ_FIRST(sqp)) != NULL) {
- SIMPLEQ_REMOVE_HEAD(sqp, fp, f_link);
+ SIMPLEQ_REMOVE_HEAD(sqp, f_link);
free(fp);
}