Date: Fri, 28 Aug 2015 02:29:31 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r287239 - head/sys/dev/ow Message-ID: <201508280229.t7S2TVkj079586@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Fri Aug 28 02:29:31 2015 New Revision: 287239 URL: https://svnweb.freebsd.org/changeset/base/287239 Log: Simply to appease gcc's warnings. Modified: head/sys/dev/ow/ow.c Modified: head/sys/dev/ow/ow.c ============================================================================== --- head/sys/dev/ow/ow.c Fri Aug 28 01:32:42 2015 (r287238) +++ head/sys/dev/ow/ow.c Fri Aug 28 02:29:31 2015 (r287239) @@ -491,7 +491,7 @@ ow_child_location_str(device_t dev, devi size_t buflen) { - snprintf(buf, buflen, ""); + *buf = '\0'; return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508280229.t7S2TVkj079586>