Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/ndis PR/50784: David Binderman: Add missing brace...
details: https://anonhg.NetBSD.org/src/rev/356631396752
branches: trunk
changeset: 343502:356631396752
user: christos <christos%NetBSD.org@localhost>
date: Mon Feb 08 16:42:04 2016 +0000
description:
PR/50784: David Binderman: Add missing braces, this is not python.
diffstat:
sys/compat/ndis/subr_ntoskrnl.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 3d5f096a116b -r 356631396752 sys/compat/ndis/subr_ntoskrnl.c
--- a/sys/compat/ndis/subr_ntoskrnl.c Mon Feb 08 16:27:51 2016 +0000
+++ b/sys/compat/ndis/subr_ntoskrnl.c Mon Feb 08 16:42:04 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_ntoskrnl.c,v 1.25 2014/03/26 18:11:26 christos Exp $ */
+/* $NetBSD: subr_ntoskrnl.c,v 1.26 2016/02/08 16:42:04 christos Exp $ */
/*-
* Copyright (c) 2003
@@ -37,7 +37,7 @@
__FBSDID("$FreeBSD: src/sys/compat/ndis/subr_ntoskrnl.c,v 1.43.2.5 2005/03/31 04:24:36 wpaul Exp $");
#endif
#ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: subr_ntoskrnl.c,v 1.25 2014/03/26 18:11:26 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_ntoskrnl.c,v 1.26 2016/02/08 16:42:04 christos Exp $");
#endif
#ifdef __FreeBSD__
@@ -433,9 +433,10 @@
e = drv->dro_driverext->dre_usrext.nle_flink;
while (e != &drv->dro_driverext->dre_usrext) {
ce = (custom_extension *)e;
- if (ce->ce_clid == clid)
+ if (ce->ce_clid == clid) {
printf("found\n");
return((void *)(ce + 1));
+ }
e = e->nle_flink;
}
printf("not found\n");
Home |
Main Index |
Thread Index |
Old Index