From owner-svn-src-all@freebsd.org Wed Dec 21 01:39:12 2016 Return-Path: Delivered-To: svn-src-all@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 5CFBEC89466; Wed, 21 Dec 2016 01:39:12 +0000 (UTC) (envelope-from sephe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 2CB491ED7; Wed, 21 Dec 2016 01:39:12 +0000 (UTC) (envelope-from sephe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBL1dBcb076420; Wed, 21 Dec 2016 01:39:11 GMT (envelope-from sephe@FreeBSD.org) Received: (from sephe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBL1dBrZ076419; Wed, 21 Dec 2016 01:39:11 GMT (envelope-from sephe@FreeBSD.org) Message-Id: <201612210139.uBL1dBrZ076419@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sephe set sender to sephe@FreeBSD.org using -f From: Sepherosa Ziehau Date: Wed, 21 Dec 2016 01:39:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r310345 - head/sys/geom X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2016 01:39:12 -0000 Author: sephe Date: Wed Dec 21 01:39:11 2016 New Revision: 310345 URL: https://svnweb.freebsd.org/changeset/base/310345 Log: build: Unbreak LINT Sponsored by: Microsoft Modified: head/sys/geom/geom_map.c Modified: head/sys/geom/geom_map.c ============================================================================== --- head/sys/geom/geom_map.c Wed Dec 21 01:38:44 2016 (r310344) +++ head/sys/geom/geom_map.c Wed Dec 21 01:39:11 2016 (r310345) @@ -147,8 +147,13 @@ find_marker(struct g_consumer *cp, const bzero(search_key, MAP_MAX_MARKER_LEN); sectorsize = cp->provider->sectorsize; +#ifdef __LP64__ + ret = sscanf(line, "search:%li:%li:%63c", + &search_start, &search_step, search_key); +#else ret = sscanf(line, "search:%qi:%qi:%63c", &search_start, &search_step, search_key); +#endif if (ret < 3) return (1);