]> sourceware.org Git - lvm2.git/commitdiff
cleanup: rename variable wait
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 19 Jun 2014 09:33:11 +0000 (11:33 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 19 Jun 2014 10:02:48 +0000 (12:02 +0200)
With older system headers (sys/wait.h) this shadows declaration.

libdaemon/server/daemon-server.c

index 0ea3f69393e517b375e149bb45d15839cc728748..8ed3cce96dcf395904caf1e6ad58a3d096fcfa11 100644 (file)
@@ -490,13 +490,13 @@ static int handle_connect(daemon_state s)
        return 1;
 }
 
-static void reap(daemon_state s, int wait)
+static void reap(daemon_state s, int waiting)
 {
        thread_state *last = s.threads, *ts = last->next;
        void *rv;
 
        while (ts) {
-               if (wait || !ts->active) {
+               if (waiting || !ts->active) {
                        pthread_join(ts->client.thread_id, &rv);
                        last->next = ts->next;
                        dm_free(ts);
This page took 0.041776 seconds and 5 git commands to generate.