aboutsummaryrefslogtreecommitdiff
path: root/src/auth.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2015-04-02 10:56:31 +0200
committerAndreas Schneider <asn@cryptomilk.org>2015-04-02 10:58:36 +0200
commita3357b892060d6d534bc8d742d42dc78e58e07ce (patch)
tree1a28349e59ca679186cf14af55ab08dfbf55f065 /src/auth.c
parent7ec798d3e73f3dac94a3c240545ebaf4daa189b4 (diff)
downloadlibssh-a3357b892060d6d534bc8d742d42dc78e58e07ce.tar.gz
libssh-a3357b892060d6d534bc8d742d42dc78e58e07ce.tar.xz
libssh-a3357b892060d6d534bc8d742d42dc78e58e07ce.zip
include: We should use __func__ which is C99
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/auth.c')
-rw-r--r--src/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auth.c b/src/auth.c
index d56111d2..20cac906 100644
--- a/src/auth.c
+++ b/src/auth.c
@@ -1548,7 +1548,7 @@ int ssh_userauth_kbdint(ssh_session session, const char *user,
* This should not happen
*/
rc = SSH_AUTH_ERROR;
- ssh_set_error(session,SSH_FATAL,"Invalid state in %s", __FUNCTION__);
+ ssh_set_error(session, SSH_FATAL, "Invalid state in %s", __func__);
}
return rc;
}