*** old/smap.c 1997/01/18 20:40:53 --- smap.c 1997/03/17 22:29:51 *************** *** 9,15 **** /* * Author: Marcus J. Ranum, Trusted Information Systems, Inc. */ ! static char RcsId[] = "$Header: /usr/home/rick/fwtk2.0/fwtk/smap/RCS/smap.c,v 1.19 1997/01/18 20:40:53 rick Exp $"; #include --- 9,15 ---- /* * Author: Marcus J. Ranum, Trusted Information Systems, Inc. */ ! static char RcsId[] = "$Header: /usr/home/rick/fwtk2.0/fwtk/smap/RCS/smap.c,v 1.20 1997/03/17 22:29:44 rick Exp $"; #include *************** *** 747,755 **** int cstat; #ifdef SYSV - while (wait3(&cstat, WNOHANG, (struct rusage *)0) > 0) - #else while (waitpid(-1, &cstat, WNOHANG) > 0) #endif ; } --- 747,755 ---- int cstat; #ifdef SYSV while (waitpid(-1, &cstat, WNOHANG) > 0) + #else + while (wait3(&cstat, WNOHANG, (struct rusage *)0) > 0) #endif ; }