Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Make fstat(2) work on AF_LINK socket descriptors.
details: https://anonhg.NetBSD.org/src/rev/d6e00e1ad132
branches: trunk
changeset: 348994:d6e00e1ad132
user: njoly <njoly%NetBSD.org@localhost>
date: Sat Nov 19 14:44:00 2016 +0000
description:
Make fstat(2) work on AF_LINK socket descriptors.
diffstat:
sys/net/link_proto.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4bf56cdcc9e0 -r d6e00e1ad132 sys/net/link_proto.c
--- a/sys/net/link_proto.c Sat Nov 19 09:49:20 2016 +0000
+++ b/sys/net/link_proto.c Sat Nov 19 14:44:00 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: link_proto.c,v 1.31 2016/07/07 09:32:02 ozaki-r Exp $ */
+/* $NetBSD: link_proto.c,v 1.32 2016/11/19 14:44:00 njoly Exp $ */
/*-
* Copyright (c) 1982, 1986, 1993
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: link_proto.c,v 1.31 2016/07/07 09:32:02 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: link_proto.c,v 1.32 2016/11/19 14:44:00 njoly Exp $");
#include <sys/param.h>
#include <sys/socket.h>
@@ -337,7 +337,7 @@
{
KASSERT(solocked(so));
- return EOPNOTSUPP;
+ return 0;
}
static int
Home |
Main Index |
Thread Index |
Old Index