summaryrefslogtreecommitdiff
path: root/src/cmd/8c/sgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/8c/sgen.c')
-rw-r--r--src/cmd/8c/sgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/8c/sgen.c b/src/cmd/8c/sgen.c
index 069bbc1fc..d647010ef 100644
--- a/src/cmd/8c/sgen.c
+++ b/src/cmd/8c/sgen.c
@@ -35,7 +35,7 @@ gtext(Sym *s, int32 stkoff)
{
int32 a;
- a = argsize();
+ a = argsize(1);
if((textflag & NOSPLIT) != 0 && stkoff >= 128)
yyerror("stack frame too large for NOSPLIT function");