aboutsummaryrefslogtreecommitdiff
path: root/src/librc/librc-depend.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-16 17:27:13 +0000
committerRoy Marples <roy@marples.name>2008-03-16 17:27:13 +0000
commit40930d7d0a613aaf6fa124a5963afcae0c30ce7a (patch)
tree89b379b4fe5a20a061c05881b75ad93276d80d08 /src/librc/librc-depend.c
parent1fd1472ddeb4a9e248bd20a378091ffe6f1132b6 (diff)
Use correct TAILQ_CONCAT macro when not defined.
Diffstat (limited to 'src/librc/librc-depend.c')
-rw-r--r--src/librc/librc-depend.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/librc/librc-depend.c b/src/librc/librc-depend.c
index 8617d753..7038a3fc 100644
--- a/src/librc/librc-depend.c
+++ b/src/librc/librc-depend.c
@@ -522,24 +522,24 @@ RC_STRINGLIST *rc_deptree_order(const RC_DEPTREE *deptree,
list = rc_services_in_state(RC_SERVICE_STARTED);
list2 = rc_services_in_state (RC_SERVICE_INACTIVE);
- TAILQ_CONCAT(list, list2);
+ TAILQ_CONCAT(list, list2, entries);
free(list2);
list2 = rc_services_in_state (RC_SERVICE_STARTING);
- TAILQ_CONCAT(list, list2);
+ TAILQ_CONCAT(list, list2, entries);
free(list2);
} else {
list = rc_services_in_runlevel (runlevel);
/* Add coldplugged services */
list2 = rc_services_in_state (RC_SERVICE_COLDPLUGGED);
- TAILQ_CONCAT(list, list2);
+ TAILQ_CONCAT(list, list2, entries);
free(list2);
/* If we're not the boot runlevel then add that too */
if (strcmp (runlevel, bootlevel) != 0) {
list2 = rc_services_in_runlevel (bootlevel);
- TAILQ_CONCAT(list, list2);
+ TAILQ_CONCAT(list, list2, entries);
free(list2);
}
}