summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_ppp.c4
-rw-r--r--sys/net/if_sl.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/if_ppp.c b/sys/net/if_ppp.c
index 28122b3d8e4..38aec598592 100644
--- a/sys/net/if_ppp.c
+++ b/sys/net/if_ppp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ppp.c,v 1.57 2010/05/01 08:14:26 mk Exp $ */
+/* $OpenBSD: if_ppp.c,v 1.58 2010/05/02 22:34:31 stsp Exp $ */
/* $NetBSD: if_ppp.c,v 1.39 1997/05/17 21:11:59 christos Exp $ */
/*
@@ -605,7 +605,7 @@ pppioctl(sc, cmd, data, flag, p)
#endif
default:
- return (ENOTTY);
+ return (-1);
}
return (0);
}
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c
index 4199087222b..96013ab0151 100644
--- a/sys/net/if_sl.c
+++ b/sys/net/if_sl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sl.c,v 1.41 2010/05/01 08:14:26 mk Exp $ */
+/* $OpenBSD: if_sl.c,v 1.42 2010/05/02 22:34:31 stsp Exp $ */
/* $NetBSD: if_sl.c,v 1.39.4.1 1996/06/02 16:26:31 thorpej Exp $ */
/*
@@ -391,7 +391,7 @@ sltioctl(tp, cmd, data, flag)
break;
default:
- return (ENOTTY);
+ return (-1);
}
return (0);
}