summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-07-01 16:18:33 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-07-01 16:18:33 +0200
commitcb74214fffc7b782f2868a74f834f0b72e0b984f (patch)
treee7fa953700a2bd937636056df90999c1e0b3def1
parentc8620dbeef9207a0bef7711d10ac90feef1bff82 (diff)
downloadfastd-cb74214fffc7b782f2868a74f834f0b72e0b984f.tar
fastd-cb74214fffc7b782f2868a74f834f0b72e0b984f.zip
Fix invalid print on handshake failure with an unknown code.
-rw-r--r--src/handshake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handshake.c b/src/handshake.c
index 393fad4..c464896 100644
--- a/src/handshake.c
+++ b/src/handshake.c
@@ -243,7 +243,7 @@ void fastd_handshake_handle(fastd_context *ctx, const fastd_peer_address *addres
const char *error_field_str;
if (reply_code >= REPLY_MAX) {
- pr_warn(ctx, "Handshake with %I failed with unknown code %I", address, reply_code);
+ pr_warn(ctx, "Handshake with %I failed with unknown code %i", address, reply_code);
goto end_free;
}