Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net return EOPNOTSUPP for pr_stat instead of returning s...
details: https://anonhg.NetBSD.org/src/rev/8e97a0e3333f
branches: trunk
changeset: 330397:8e97a0e3333f
user: rtr <rtr%NetBSD.org@localhost>
date: Mon Jul 07 10:18:20 2014 +0000
description:
return EOPNOTSUPP for pr_stat instead of returning success since we
don't fill in the struct stat passed to us.
diffstat:
sys/net/rtsock.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a6b8a6916b65 -r 8e97a0e3333f sys/net/rtsock.c
--- a/sys/net/rtsock.c Mon Jul 07 10:12:24 2014 +0000
+++ b/sys/net/rtsock.c Mon Jul 07 10:18:20 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtsock.c,v 1.150 2014/07/06 03:33:33 rtr Exp $ */
+/* $NetBSD: rtsock.c,v 1.151 2014/07/07 10:18:20 rtr Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtsock.c,v 1.150 2014/07/06 03:33:33 rtr Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtsock.c,v 1.151 2014/07/07 10:18:20 rtr Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -233,7 +233,7 @@
static int
COMPATNAME(route_stat)(struct socket *so, struct stat *ub)
{
- return 0;
+ return EOPNOTSUPP;
}
static int
Home |
Main Index |
Thread Index |
Old Index