aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 165962b..851e54a 100644
--- a/io.c
+++ b/io.c
@@ -22,7 +22,7 @@ static int last_driver = 0;
int io_driver_register(struct io_driver *driver)
{
if (last_driver > ARRAY_SIZE(drivers)) {
- fprintf(stderr, "Registered more than %d devices.\n",
+ fprintf(stderr, "Registered more than %zu devices.\n",
ARRAY_SIZE(drivers));
return -1;
}