Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2018 04:19:56 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   r328075 appears to break sbin/fsdb
Message-ID:  <20180117121956.GS1241@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--MhDS85o8hQkNlKhq
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

As O. Hartmann noted (in svn-src-head@), the change to rename cgget to
cglookup also affects fsdb:

--- all_subdir_sbin/fsdb ---
--- fsdb.o ---
/usr/src/sbin/fsdb/fsdb.c:479:9: error: implicit declaration of function 'c=
gget' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        cgbp =3D cgget(c);
               ^
/usr/src/sbin/fsdb/fsdb.c:479:7: error: incompatible integer to pointer con=
version assigning to 'struct bufarea *' from 'int' [-Werror,-Wint-conversio=
n]
        cgbp =3D cgget(c);
             ^ ~~~~~~~~
2 errors generated.
--- all_subdir_usr.bin ---


I suspect that replacing "cgget" with "cglookup" in
src/sbin/fsdb/fsdb.c:479 will fix it.

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
"unfortunately, no trust!=E2=80=9D -- well, of course!  You reap what you s=
ow.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--MhDS85o8hQkNlKhq
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEEzLfO+ReoAfQwZNd7FTnMQKBJ7hcFAlpfP2xfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEND
QjdDRUY5MTdBODAxRjQzMDY0RDc3QjE1MzlDQzQwQTA0OUVFMTcACgkQFTnMQKBJ
7her0wgAsELMnYKKmF8Ia+9ZpVIRQlXx9MMtHPafyOn50uIaWgT6WBzBmQtqYgaY
fv4KANc3Lbhsdbr+zjQktyRPoda8in58Y4c7dtTHbANLoEZCTAkEMbUXf8q9tr8E
v9K6y7WsV15MD6J+6svpc1Ex8Q1bsD1xTmR49yyYnvBZGuI5WSH1h4hein1NsjQT
qsDEDHwa7dtg4+enBcLTdWfB5s9Fiq6Y931M3Pfsb3SlUvHdGNP2DS1ArK12v2ME
2B+XdtSKMpNNTaUyQVlM86Ireju36ry+MJmz1WcfcimMDsBGIzVXY3edXwxFwtcw
vT8SPujWEtuHObx/ACRk1DFv8zUfsw==
=Xyv1
-----END PGP SIGNATURE-----

--MhDS85o8hQkNlKhq--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180117121956.GS1241>