Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nick-nhusb]: src/sys/dev/usb s/0/NULL/ for pointer



details:   https://anonhg.NetBSD.org/src/rev/ce43fa7de7c6
branches:  nick-nhusb
changeset: 334172:ce43fa7de7c6
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Mar 28 15:56:45 2015 +0000

description:
s/0/NULL/ for pointer

diffstat:

 sys/dev/usb/usbdi.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0d53e6a46c65 -r ce43fa7de7c6 sys/dev/usb/usbdi.c
--- a/sys/dev/usb/usbdi.c       Sun Mar 22 08:09:44 2015 +0000
+++ b/sys/dev/usb/usbdi.c       Sat Mar 28 15:56:45 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbdi.c,v 1.162.2.22 2015/03/19 17:26:43 skrll Exp $   */
+/*     $NetBSD: usbdi.c,v 1.162.2.23 2015/03/28 15:56:45 skrll Exp $   */
 
 /*
  * Copyright (c) 1998, 2012 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.162.2.22 2015/03/19 17:26:43 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.162.2.23 2015/03/28 15:56:45 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -528,7 +528,7 @@
 {
        xfer->ux_pipe = pipe;
        xfer->ux_priv = priv;
-       xfer->ux_buffer = 0;
+       xfer->ux_buffer = NULL;
        xfer->ux_length = 0;
        xfer->ux_actlen = 0;
        xfer->ux_flags = flags;



Home | Main Index | Thread Index | Old Index