From owner-svn-src-head@freebsd.org Fri Aug 28 02:29:32 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0263A9C3923; Fri, 28 Aug 2015 02:29:32 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E7A611187; Fri, 28 Aug 2015 02:29:31 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t7S2TVYb079587; Fri, 28 Aug 2015 02:29:31 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t7S2TVkj079586; Fri, 28 Aug 2015 02:29:31 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201508280229.t7S2TVkj079586@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Fri, 28 Aug 2015 02:29:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r287239 - head/sys/dev/ow X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 02:29:32 -0000 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); }