Date: Sat, 31 Oct 2009 16:01:05 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 170003 for review Message-ID: <200910311601.n9VG15Gn083344@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=170003 Change 170003 by hselasky@hselasky_laptop001 on 2009/10/31 16:00:17 USB serial: - add missing "cn_name" initialisation. - reported by: Dimitry Andric Affected files ... .. //depot/projects/usb/src/sys/dev/usb/serial/usb_serial.c#16 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/serial/usb_serial.c#16 (text+ko) ==== @@ -1304,6 +1304,8 @@ cp->cn_pri = CN_NORMAL; else cp->cn_pri = CN_DEAD; + + strlcpy(cp->cn_name, "ucom", sizeof(cp->cn_name)); } static void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910311601.n9VG15Gn083344>