State explicitly that an internal consistency check failed (PR#2660).

This commit is contained in:
pk 1997-07-04 22:15:41 +00:00
parent 90e6fb0581
commit c7531c0573

View File

@ -1,5 +1,5 @@
/*
* $Id: warnings.c,v 1.18 1994/12/28 10:37:38 pk Exp $
* $Id: warnings.c,v 1.19 1997/07/04 22:15:41 pk Exp $
*/
#include <sys/param.h>
@ -745,8 +745,8 @@ do_warnings(outfile)
if (list_unresolved_refs &&
reported_undefineds !=
(undefined_global_sym_count - undefined_weak_sym_count))
warnx("Spurious undefined symbols: "
"# undefined symbols %d, reported %d",
warnx("internal consistency check failure: "
"# undefined symbols %d, accounted for %d",
(undefined_global_sym_count - undefined_weak_sym_count),
reported_undefineds);