On Tue, Nov 27, 2007 at 01:07:29PM -0600, David Young wrote: > if (waitpid(hsw->hsw_pid, &status, WNOHANG) == -1) { > loglib_warn("%s: waitpid", __func__); You don't handle waitpid() == 0 here, right? Otherwise status can be left uninitialised. Joerg