libnetconf2 BUGFIX proper uint32_t print macros
diff --git a/src/io.c b/src/io.c
index 15123e5..48da5af 100644
--- a/src/io.c
+++ b/src/io.c
@@ -1100,7 +1100,7 @@
             nc_write_clb((void *)&arg, "</capability>", 13, 0);
         }
         if (sid) {
-            count = asprintf(&buf, "</capabilities><session-id>%u</session-id></hello>", *sid);
+            count = asprintf(&buf, "</capabilities><session-id>%" PRIu32 "</session-id></hello>", *sid);
             NC_CHECK_ERRMEM_GOTO(count == -1, ret = NC_MSG_ERROR, cleanup);
             nc_write_clb((void *)&arg, buf, count, 0);
             free(buf);