From 04df24a233e6118a5265ab43efc5437d1bfe00a8 Mon Sep 17 00:00:00 2001 From: djm Date: Thu, 14 Feb 2013 23:28:55 +0000 Subject: - djm@cvs.openbsd.org 2013/02/14 21:35:59 [auth2-pubkey.c] Correct error message that had a typo and was logging the wrong thing; patch from Petr Lautrbach --- auth2-pubkey.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'auth2-pubkey.c') diff --git a/auth2-pubkey.c b/auth2-pubkey.c index 70d8996e..3ff6faa8 100644 --- a/auth2-pubkey.c +++ b/auth2-pubkey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth2-pubkey.c,v 1.33 2012/11/14 02:24:27 djm Exp $ */ +/* $OpenBSD: auth2-pubkey.c,v 1.34 2013/02/14 21:35:59 djm Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -479,8 +479,8 @@ user_key_command_allowed2(struct passwd *user_pw, Key *key) "u", user_pw->pw_name, (char *)NULL); pw = getpwnam(username); if (pw == NULL) { - error("AuthorizedKeyCommandUser \"%s\" not found: %s", - options.authorized_keys_command, strerror(errno)); + error("AuthorizedKeysCommandUser \"%s\" not found: %s", + username, strerror(errno)); free(username); return 0; } -- cgit v1.2.1