aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.c
diff options
context:
space:
mode:
Diffstat (limited to 'awkgram.c')
-rw-r--r--awkgram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/awkgram.c b/awkgram.c
index b6b07649..8d812c40 100644
--- a/awkgram.c
+++ b/awkgram.c
@@ -4889,7 +4889,7 @@ add_srcfile(int stype, char *src, SRCFILE *thisfile, int *already_included, int
for (s = srcfiles->next; s != srcfiles; s = s->next) {
if ((s->stype == SRC_FILE || s->stype == SRC_INC)
- && files_are_same(& sbuf, & s->sbuf)
+ && files_are_same(path, s)
) {
if (do_lint)
lintwarn(_("already included source file `%s'"), src);