commit | 910f209c1d08b9b91f744c571fbf805206f04729 | [log] [tgz] |
---|---|---|
author | Damien Miller <djm@mindrot.org> | Thu Mar 04 14:17:22 2010 +1100 |
committer | Damien Miller <djm@mindrot.org> | Thu Mar 04 14:17:22 2010 +1100 |
tree | fb9d6a30a5be082dc563d92552b765bd6cb93ea0 | |
parent | 386dbc05e9c8c34dde5abe62a7804b4747b0de06 [diff] [blame] |
- (djm) [ssh-keygen.c] Use correct local variable, instead of maybe-undefined global "optarg"
diff --git a/ssh-keygen.c b/ssh-keygen.c index 7dc1080..f910dce 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c
@@ -1300,7 +1300,7 @@ from = xstrdup(timespec); to = strchr(from, ':'); if (to == NULL || from == to || *(to + 1) == '\0') - fatal("Invalid certificate life specification %s", optarg); + fatal("Invalid certificate life specification %s", timespec); *to++ = '\0'; if (*from == '-' || *from == '+')