master/fsm_slave_scan.c
changeset 1543 373cd456dc26
parent 1470 cb424feef942
child 1581 e51cf2af3ff9
--- a/master/fsm_slave_scan.c	Thu Aug 13 15:18:53 2009 +0200
+++ b/master/fsm_slave_scan.c	Mon Oct 19 13:12:40 2009 +0200
@@ -544,7 +544,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;