From 730964efd28b80be48ed35a215a362dde2b6b7a7 Mon Sep 17 00:00:00 2001 From: jkh Date: Fri, 12 Jul 1996 19:08:36 +0000 Subject: General -Wall warning cleanup, part I. Submitted-By: Kent Vander Velden --- sbin/ldconfig/ldconfig.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sbin/ldconfig') diff --git a/sbin/ldconfig/ldconfig.c b/sbin/ldconfig/ldconfig.c index 13cd297..6eb49e0 100644 --- a/sbin/ldconfig/ldconfig.c +++ b/sbin/ldconfig/ldconfig.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: ldconfig.c,v 1.13 1996/01/09 00:04:35 pk Exp $ + * $Id: ldconfig.c,v 1.12 1996/02/26 02:22:33 pst Exp $ */ #include @@ -39,6 +39,8 @@ #include #include #include +#include +#include #include #include #include @@ -114,7 +116,7 @@ char *argv[]; return rval; if (justread) { listhints(); - return; + return 0; } } @@ -288,7 +290,7 @@ buildhints() hdr.hh_ehints = hdr.hh_strtab + hdr.hh_strtab_sz; if (verbose) - printf("Totals: entries %d, buckets %d, string size %d\n", + printf("Totals: entries %d, buckets %ld, string size %d\n", nhints, hdr.hh_nbucket, strtab_sz); /* Allocate buckets and string table */ -- cgit v1.1