master/fsm_slave_scan.c
changeset 1606 6c5849669900
parent 1581 e51cf2af3ff9
child 1775 576c400d74d5
--- a/master/fsm_slave_scan.c	Fri Dec 18 11:09:07 2009 +0100
+++ b/master/fsm_slave_scan.c	Sun Dec 27 16:58:19 2009 +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;