summaryrefslogtreecommitdiff
path: root/usr.bin/c89/c89.c
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2013-03-07 21:34:16 +0000
committerDimitry Andric <dim@FreeBSD.org>2013-03-07 21:34:16 +0000
commitb1bbb41f966a04488da73f35fe397e07b502ca99 (patch)
tree268ea328dcde3b379b9436e277d2e8a53cd3027a /usr.bin/c89/c89.c
parent7f33ac6697b3eebd8611e89f51d10ff2ab15b87e (diff)
downloadsrc-test2-b1bbb41f966a04488da73f35fe397e07b502ca99.tar.gz
src-test2-b1bbb41f966a04488da73f35fe397e07b502ca99.zip
Notes
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 a1dc9b2a6238..930153fcb919 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) {