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 Sync with HEAD
details: https://anonhg.NetBSD.org/src/rev/e8b2b5b9535c
branches: nick-nhusb
changeset: 334636:e8b2b5b9535c
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Feb 03 07:54:44 2017 +0000
description:
Sync with HEAD
diffstat:
sys/dev/usb/if_kue.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5d5d6b08227b -r e8b2b5b9535c sys/dev/usb/if_kue.c
--- a/sys/dev/usb/if_kue.c Fri Feb 03 07:48:05 2017 +0000
+++ b/sys/dev/usb/if_kue.c Fri Feb 03 07:54:44 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_kue.c,v 1.81.4.11 2016/12/05 10:55:18 skrll Exp $ */
+/* $NetBSD: if_kue.c,v 1.81.4.12 2017/02/03 07:54:44 skrll Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_kue.c,v 1.81.4.11 2016/12/05 10:55:18 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_kue.c,v 1.81.4.12 2017/02/03 07:54:44 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -500,7 +500,7 @@
ifp->if_ioctl = kue_ioctl;
ifp->if_start = kue_start;
ifp->if_watchdog = kue_watchdog;
- strncpy(ifp->if_xname, device_xname(sc->kue_dev), IFNAMSIZ);
+ strlcpy(ifp->if_xname, device_xname(sc->kue_dev), IFNAMSIZ);
IFQ_SET_READY(&ifp->if_snd);
Home |
Main Index |
Thread Index |
Old Index