summaryrefslogtreecommitdiffstats
path: root/usr.bin/c89/c89.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/c89/c89.c')
-rw-r--r--usr.bin/c89/c89.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/c89/c89.c b/usr.bin/c89/c89.c
index a1dc9b2..930153f 100644
--- a/usr.bin/c89/c89.c
+++ b/usr.bin/c89/c89.c
@@ -72,7 +72,7 @@ main(int argc, char **argv)
Argv.a = malloc((argc + 1 + N_ARGS_PREPENDED) * sizeof *Argv.a);
if (Argv.a == NULL)
err(1, "malloc");
- Argv.a[Argc++] = argv[0];
+ Argv.a[Argc++] = CC;
for (j = 0; j < N_ARGS_PREPENDED; ++j)
Argv.a[Argc++] = args_prepended[j];
while ((i = getopt(argc, argv, "cD:EgI:l:L:o:OsU:")) != -1) {
OpenPOWER on IntegriCloud