From: Guus Sliepen Date: Sun, 11 May 2014 20:16:34 +0000 (+0200) Subject: Fix a format string error. X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=104148f04ad25f9f7f62753a11b81090c5b36984;p=meshlink Fix a format string error. --- diff --git a/src/ed25519/ecdsa.c b/src/ed25519/ecdsa.c index 1da27977..4515131a 100644 --- a/src/ed25519/ecdsa.c +++ b/src/ed25519/ecdsa.c @@ -38,7 +38,7 @@ ecdsa_t *ecdsa_set_base64_public_key(const char *p) { int len = strlen(p); if(len != 43) { - logger(DEBUG_ALWAYS, LOG_ERR, "Invalid size %s for public key!", len); + logger(DEBUG_ALWAYS, LOG_ERR, "Invalid size %d for public key!", len); return 0; }