aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.c
diff options
context:
space:
mode:
Diffstat (limited to 'awkgram.c')
-rw-r--r--awkgram.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/awkgram.c b/awkgram.c
index 5d3cd6c2..64a75832 100644
--- a/awkgram.c
+++ b/awkgram.c
@@ -5062,7 +5062,11 @@ add_srcfile(int stype, char *src, SRCFILE *thisfile, bool *already_included, int
*/
if (sourceline > 1 && lasttok == NEWLINE)
line--;
- lintwarn_ln(line, _("already included source file `%s'"), src);
+ lintwarn_ln(line,
+ stype != SRC_EXTLIB
+ ? _("already included source file `%s'")
+ : _("already loaded shared library `%s'"),
+ src);
}
efree(path);
if (already_included)