[sam7-util PATCH 2/2] io.c: remove warning on format string.

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Diego Elio Pettenò flameeyes at flameeyes.eu
Wed Jul 4 22:57:05 UTC 2012


Signed-off-by: Diego Elio Pettenò <flameeyes at flameeyes.eu>
---
 io.c |    2 +-
 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;
 	}
-- 
1.7.8.6





More information about the OpenBSC mailing list