xpath BUGFIX typo
diff --git a/src/xpath.c b/src/xpath.c
index a641e53..0658bad 100644
--- a/src/xpath.c
+++ b/src/xpath.c
@@ -2687,7 +2687,7 @@
         expr_len = strlen(expr_str);
     }
     if (expr_len > UINT16_MAX) {
-        LOGVAL(ctx, LYVE_XPATH, "XPath expression cannot be longer than %ud characters.", UINT16_MAX);
+        LOGVAL(ctx, LYVE_XPATH, "XPath expression cannot be longer than %u characters.", UINT16_MAX);
         return LY_EVALID;
     }