aboutsummaryrefslogtreecommitdiffstats
path: root/agent/findkey.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--agent/findkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/findkey.c b/agent/findkey.c
index 1cb7efaf3..73ffb530d 100644
--- a/agent/findkey.c
+++ b/agent/findkey.c
@@ -671,7 +671,7 @@ agent_public_key_from_file (ctrl_t ctrl,
*p++ = *s;
p = stpcpy (p, " %m)");
assert (argidx < DIM (args));
- args[argidx++] = array[idx];
+ args[argidx++] = &array[idx];
}
*p++ = ')';
if (uri)