master/fsm_slave_scan.c
changeset 1609 94010c6d8198
parent 1581 e51cf2af3ff9
child 1775 576c400d74d5
--- a/master/fsm_slave_scan.c	Mon Jan 04 11:27:37 2010 +0100
+++ b/master/fsm_slave_scan.c	Mon Jan 04 11:28:29 2010 +0100
@@ -546,7 +546,7 @@
 
     if (!(slave->sii_words =
                 (uint16_t *) kmalloc(slave->sii_nwords * 2, GFP_KERNEL))) {
-        EC_ERR("Failed to allocate %u words of SII data for slave %u.\n",
+        EC_ERR("Failed to allocate %zu words of SII data for slave %u.\n",
                slave->sii_nwords, slave->ring_position);
         slave->sii_nwords = 0;
         slave->error_flag = 1;