diff --git a/main/framehook.c b/main/framehook.c
index 44bb8684345d0b1c109ea67c03089fff829812da..e42a232c0624945f453f5cb632ef8b9f5e1a7ca3 100644
--- a/main/framehook.c
+++ b/main/framehook.c
@@ -137,7 +137,7 @@ int ast_framehook_attach(struct ast_channel *chan, struct ast_framehook_interfac
 	struct ast_framehook_list *fh_list;
 	struct ast_frame *frame;
 	if (i->version != AST_FRAMEHOOK_INTERFACE_VERSION) {
-		ast_log(LOG_ERROR, "Version '%hu' of framehook interface not what we compiled against (%hu)\n",
+		ast_log(LOG_ERROR, "Version '%hu' of framehook interface not what we compiled against (%i)\n",
 			i->version, AST_FRAMEHOOK_INTERFACE_VERSION);
 		return -1;
 	}