summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>1999-03-08 05:34:16 +0000
committerPaul Mackerras <paulus@samba.org>1999-03-08 05:34:16 +0000
commitac19750e0fb64986870e9bd9bad52d5ae46e2551 (patch)
treed24294ef9c3c70226d083dc86fad64921514a83c /modules
parent6d89f8d2a2b827a1165e99ea683e6c859e98693e (diff)
downloadppp-ac19750e0fb64986870e9bd9bad52d5ae46e2551.tar.gz
make it compile for sunos
Diffstat (limited to 'modules')
-rw-r--r--modules/ppp.c8
1 files 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;