r328075 appears to break sbin/fsdb

From: David Wolfskill <david_at_catwhisker.org>
Date: Wed, 17 Jan 2018 04:19:56 -0800
As O. Hartmann noted (in svn-src-head_at_), 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 'cgget' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        cgbp = cgget(c);
               ^
/usr/src/sbin/fsdb/fsdb.c:479:7: error: incompatible integer to pointer conversion assigning to 'struct bufarea *' from 'int' [-Werror,-Wint-conversion]
        cgbp = 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
-- 
David H. Wolfskill				david_at_catwhisker.org
"unfortunately, no trust!” -- well, of course!  You reap what you sow.

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

Received on Wed Jan 17 2018 - 11:20:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC