Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb One more s/0/NULL/
details: https://anonhg.NetBSD.org/src/rev/c34a9e1a8231
branches: trunk
changeset: 343687:c34a9e1a8231
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Feb 20 17:07:32 2016 +0000
description:
One more s/0/NULL/
diffstat:
sys/dev/usb/ugen.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 6307d32e3d60 -r c34a9e1a8231 sys/dev/usb/ugen.c
--- a/sys/dev/usb/ugen.c Sat Feb 20 16:42:33 2016 +0000
+++ b/sys/dev/usb/ugen.c Sat Feb 20 17:07:32 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ugen.c,v 1.127 2016/02/20 09:38:28 skrll Exp $ */
+/* $NetBSD: ugen.c,v 1.128 2016/02/20 17:07:32 skrll Exp $ */
/*
* Copyright (c) 1998, 2004 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ugen.c,v 1.127 2016/02/20 09:38:28 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ugen.c,v 1.128 2016/02/20 17:07:32 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -1342,7 +1342,7 @@
endpt = ed->bEndpointAddress;
dir = UE_GET_DIR(endpt) == UE_DIR_IN ? IN : OUT;
sce = &sc->sc_endpoints[UE_GET_ADDR(endpt)][dir];
- sce->sc = 0;
+ sce->sc = NULL;
sce->edesc = NULL;
sce->iface = NULL;
}
Home |
Main Index |
Thread Index |
Old Index