summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/fakeauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/fakeauth.c b/utils/fakeauth.c
index 004cc469..40c898b2 100644
--- a/utils/fakeauth.c
+++ b/utils/fakeauth.c
@@ -408,7 +408,7 @@ believe it has restricted them to different identities or no identity at all.\
if (execfile == MACH_PORT_NULL)
error (3, errno, "%s", argv[argi]);
if (prefixed_name)
- argv[0] = prefixed_name;
+ argv[argi] = prefixed_name;
err = task_create (mach_task_self (),
#ifdef KERN_INVALID_LEDGER