aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/gcc/ortho-lang-9.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ortho/gcc/ortho-lang-9.c')
-rw-r--r--src/ortho/gcc/ortho-lang-9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ortho/gcc/ortho-lang-9.c b/src/ortho/gcc/ortho-lang-9.c
index 4059e5ac3..622bd5b38 100644
--- a/src/ortho/gcc/ortho-lang-9.c
+++ b/src/ortho/gcc/ortho-lang-9.c
@@ -411,7 +411,7 @@ ortho_post_options (const char **pfilename)
{
/* Define auxbase. The default mechanism in toplev.c doesn't
handle extensions longer than 3 characters. */
- char *name = xstrdup (lbasename (main_input_filename));
+ char *name = xstrdup (lbasename (*pfilename));
int len;
/* Remove extension. */