Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb KNG



details:   https://anonhg.NetBSD.org/src/rev/47cff522006e
branches:  trunk
changeset: 970341:47cff522006e
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Mar 21 06:54:56 2020 +0000

description:
KNG

diffstat:

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

diffs (27 lines):

diff -r ba6cbc294e5e -r 47cff522006e sys/dev/usb/ugen.c
--- a/sys/dev/usb/ugen.c        Sat Mar 21 06:54:32 2020 +0000
+++ b/sys/dev/usb/ugen.c        Sat Mar 21 06:54:56 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ugen.c,v 1.150 2020/03/14 02:35:33 christos Exp $      */
+/*     $NetBSD: ugen.c,v 1.151 2020/03/21 06:54:56 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.150 2020/03/14 02:35:33 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ugen.c,v 1.151 2020/03/21 06:54:56 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -231,7 +231,7 @@
        struct usb_attach_arg *uaa = aux;
        struct usbif_attach_arg uiaa;
 
-       memset(&uiaa, 0, sizeof uiaa);
+       memset(&uiaa, 0, sizeof(uiaa));
        uiaa.uiaa_port = uaa->uaa_port;
        uiaa.uiaa_vendor = uaa->uaa_vendor;
        uiaa.uiaa_product = uaa->uaa_product;



Home | Main Index | Thread Index | Old Index