diff options
author | dyson <dyson@FreeBSD.org> | 1998-06-02 05:39:13 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1998-06-02 05:39:13 +0000 |
commit | 5dbf701901a1b61c339883b7e0ae9d046af6c441 (patch) | |
tree | c8f24ae0471cc7880d9d20756a6a62e8f4b2b0cb /sys/i386/ibcs2 | |
parent | 146450061117fb5ae961626bc79a78e1e8039b43 (diff) | |
download | FreeBSD-src-5dbf701901a1b61c339883b7e0ae9d046af6c441.zip FreeBSD-src-5dbf701901a1b61c339883b7e0ae9d046af6c441.tar.gz |
Correct sleep priority.
Diffstat (limited to 'sys/i386/ibcs2')
-rw-r--r-- | sys/i386/ibcs2/ibcs2_xenix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/ibcs2/ibcs2_xenix.c b/sys/i386/ibcs2/ibcs2_xenix.c index 8e93285..8694e2a 100644 --- a/sys/i386/ibcs2/ibcs2_xenix.c +++ b/sys/i386/ibcs2/ibcs2_xenix.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: ibcs2_xenix.c,v 1.13 1997/07/20 09:39:50 bde Exp $ + * $Id: ibcs2_xenix.c,v 1.14 1997/11/06 19:28:46 phk Exp $ */ #include <sys/param.h> @@ -133,7 +133,7 @@ xenix_nap(struct proc *p, struct xenix_nap_args *uap) DPRINTF(("IBCS2: 'xenix nap %d ms'\n", SCARG(uap, millisec))); period = (long)SCARG(uap, millisec) / (1000/hz); if (period) - while (tsleep(&period, PUSER, "nap", period) + while (tsleep(&period, PPAUSE, "nap", period) != EWOULDBLOCK) ; return 0; } |