* gdb_wait.h (WSETSTOP): Pass the appropriate number of arguments

to W_STOPCODE.
This commit is contained in:
Jim Blandy 2000-03-18 01:57:00 +00:00
parent 67aaefa2df
commit 6d5a5207c5

View File

@ -95,7 +95,7 @@
#ifndef WSETSTOP
# ifdef W_STOPCODE
#define WSETSTOP(w,status) ((w) = W_STOPCODE(status,0))
#define WSETSTOP(w,sig) ((w) = W_STOPCODE(sig))
# else
#define WSETSTOP(w,sig) ((w) = (0177 | ((sig) << 8)))
# endif