diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-12-14 14:48:37 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-12-14 15:35:28 -0500 |
commit | df606157d22a633aab8cc7d532117a1b20870b58 (patch) | |
tree | 5ebf6d4ec9026079545c6cd5a1aeec0f6f7fdc90 /src | |
parent | cde740ba683882198853aa32d4dca492f079be8b (diff) | |
download | sssd-df606157d22a633aab8cc7d532117a1b20870b58.tar.gz sssd-df606157d22a633aab8cc7d532117a1b20870b58.tar.bz2 sssd-df606157d22a633aab8cc7d532117a1b20870b58.zip |
Prevent uninitialized value error in monitor_quit
https://fedorahosted.org/sssd/ticket/724
Diffstat (limited to 'src')
-rw-r--r-- | src/monitor/monitor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c index 7727d09b..bee27e8b 100644 --- a/src/monitor/monitor.c +++ b/src/monitor/monitor.c @@ -1202,6 +1202,7 @@ static void monitor_quit(struct tevent_context *ev, svc->name, svc->pid, strerror(error))); } + error = 0; do { errno = 0; pid = waitpid(svc->pid, &status, WNOHANG); |