diff options
author | Roy Marples <roy@marples.name> | 2008-03-16 17:27:13 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-16 17:27:13 +0000 |
commit | 40930d7d0a613aaf6fa124a5963afcae0c30ce7a (patch) | |
tree | 89b379b4fe5a20a061c05881b75ad93276d80d08 /src/rc/rc.c | |
parent | 1fd1472ddeb4a9e248bd20a378091ffe6f1132b6 (diff) |
Use correct TAILQ_CONCAT macro when not defined.
Diffstat (limited to 'src/rc/rc.c')
-rw-r--r-- | src/rc/rc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rc/rc.c b/src/rc/rc.c index 6a6aa0a4..6754d2d3 100644 --- a/src/rc/rc.c +++ b/src/rc/rc.c @@ -951,10 +951,10 @@ int main(int argc, char **argv) * correct order for stopping them */ stop_services = rc_services_in_state(RC_SERVICE_STARTED); tmplist = rc_services_in_state(RC_SERVICE_INACTIVE); - TAILQ_CONCAT(stop_services, tmplist); + TAILQ_CONCAT(stop_services, tmplist, entries); free(tmplist); tmplist = rc_services_in_state(RC_SERVICE_STARTING); - TAILQ_CONCAT(stop_services, tmplist); + TAILQ_CONCAT(stop_services, tmplist, entries); free(tmplist); rc_stringlist_sort(&stop_services); @@ -981,7 +981,7 @@ int main(int argc, char **argv) start_services = rc_services_in_runlevel(bootlevel); if (strcmp (newlevel ? newlevel : runlevel, bootlevel) != 0) { tmplist = rc_services_in_runlevel(newlevel ? newlevel : runlevel); - TAILQ_CONCAT(start_services, tmplist); + TAILQ_CONCAT(start_services, tmplist, entries); free(tmplist); } |