summaryrefslogtreecommitdiff
path: root/src/cmd/gc/subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/gc/subr.c')
-rw-r--r--src/cmd/gc/subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/gc/subr.c b/src/cmd/gc/subr.c
index 97fdc4f19..007344e93 100644
--- a/src/cmd/gc/subr.c
+++ b/src/cmd/gc/subr.c
@@ -269,7 +269,7 @@ importdot(Sym *opkg, Node *pack)
}
if(n == 0) {
// can't possibly be used - there were no symbols
- print("%L: imported and not used: %s\n", pack->pline, pack->sym->name);
+ print("%L: imported and not used: %s\n", pack->lineno, pack->sym->name);
nerrors++;
}
}