Make waitusage() consistent with other wait() functions.