diff options
author | 2011-09-18 18:29:20 +0000 | |
---|---|---|
committer | 2011-09-18 18:29:20 +0000 | |
commit | 41dd10c8c20f9795cb23c60259a797fed8dc73e5 (patch) | |
tree | 9b602a2a8f4519b24a58c6b981ac1edfe18ac395 /sys/dev/usb/ohci.c | |
parent | add connect and move include to top Makefile.inc (diff) | |
download | wireguard-openbsd-41dd10c8c20f9795cb23c60259a797fed8dc73e5.tar.xz wireguard-openbsd-41dd10c8c20f9795cb23c60259a797fed8dc73e5.zip |
Set pointer to NULL not 0. From Michael Knudsen (several times).
Diffstat (limited to 'sys/dev/usb/ohci.c')
-rw-r--r-- | sys/dev/usb/ohci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index 6b19277a027..b79e442f82c 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ohci.c,v 1.104 2011/07/03 15:47:17 matthew Exp $ */ +/* $OpenBSD: ohci.c,v 1.105 2011/09/18 18:29:20 krw Exp $ */ /* $NetBSD: ohci.c,v 1.139 2003/02/22 05:24:16 tsutsui Exp $ */ /* $FreeBSD: src/sys/dev/usb/ohci.c,v 1.22 1999/11/17 22:33:40 n_hibma Exp $ */ @@ -442,7 +442,7 @@ ohci_alloc_sed(ohci_softc_t *sc) sed = sc->sc_freeeds; sc->sc_freeeds = sed->next; memset(&sed->ed, 0, sizeof(ohci_ed_t)); - sed->next = 0; + sed->next = NULL; return (sed); } |