From ac19750e0fb64986870e9bd9bad52d5ae46e2551 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Mon, 8 Mar 1999 05:34:16 +0000 Subject: [PATCH] make it compile for sunos --- modules/ppp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/ppp.c b/modules/ppp.c index c99c141..164f1c8 100644 --- a/modules/ppp.c +++ b/modules/ppp.c @@ -24,7 +24,7 @@ * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, * OR MODIFICATIONS. * - * $Id: ppp.c,v 1.16 1999/02/26 10:52:06 paulus Exp $ + * $Id: ppp.c,v 1.17 1999/03/08 05:34:16 paulus Exp $ */ /* @@ -140,8 +140,8 @@ krwlock_t ppp_lower_lock; #define LOCK_LOWER_R 0 #define TRYLOCK_LOWER_R 1 #define UNLOCK_LOWER 0 -#define MUTEX_ENTER(x) 0 -#define MUTEX_EXIT(x) 0 +#define MT_ENTER(x) 0 +#define MT_EXIT(x) 0 #endif /* SOL2 */ @@ -468,7 +468,7 @@ pppclose(q, flag) #endif if (up->lowerq != 0) { /* Gack! the lower stream should have be unlinked earlier! */ - cmn_err(CE_WARN, "ppp%d: lower stream still connected on close?\n", + DPRINT1("ppp%d: lower stream still connected on close?\n", up->mn); LOCK_LOWER_W; up->lowerq->q_ptr = 0; -- 2.39.2