Date: Thu, 16 Mar 2017 04:58:13 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r315369 - stable/11/sys/geom Message-ID: <201703160458.v2G4wD0J041519@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Thu Mar 16 04:58:12 2017 New Revision: 315369 URL: https://svnweb.freebsd.org/changeset/base/315369 Log: MFC r310345: r310345 (by sephe): build: Unbreak LINT Modified: stable/11/sys/geom/geom_map.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/geom/geom_map.c ============================================================================== --- stable/11/sys/geom/geom_map.c Thu Mar 16 04:40:07 2017 (r315368) +++ stable/11/sys/geom/geom_map.c Thu Mar 16 04:58:12 2017 (r315369) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703160458.v2G4wD0J041519>