Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet errno -> error, spotted by the hawk skrll
details: https://anonhg.NetBSD.org/src/rev/d2fe567bc501
branches: trunk
changeset: 338784:d2fe567bc501
user: roy <roy%NetBSD.org@localhost>
date: Mon Jun 08 08:19:20 2015 +0000
description:
errno -> error, spotted by the hawk skrll
diffstat:
sys/netinet/ip_output.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 777fc8331b34 -r d2fe567bc501 sys/netinet/ip_output.c
--- a/sys/netinet/ip_output.c Mon Jun 08 08:02:43 2015 +0000
+++ b/sys/netinet/ip_output.c Mon Jun 08 08:19:20 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_output.c,v 1.240 2015/06/08 08:02:43 roy Exp $ */
+/* $NetBSD: ip_output.c,v 1.241 2015/06/08 08:19:20 roy Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.240 2015/06/08 08:02:43 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.241 2015/06/08 08:19:20 roy Exp $");
#include "opt_inet.h"
#include "opt_ipsec.h"
@@ -504,7 +504,7 @@
if (xifa->ifa_getifa != NULL) {
xia = ifatoia((*xifa->ifa_getifa)(xifa, rdst));
if (xia == NULL) {
- errno = EADDRNOTAVAIL;
+ error = EADDRNOTAVAIL;
goto bad;
}
}
Home |
Main Index |
Thread Index |
Old Index