master/sdo_request.c
changeset 1606 6c5849669900
parent 1543 373cd456dc26
child 1794 94e0e1756dec
--- a/master/sdo_request.c	Fri Dec 18 11:09:07 2009 +0100
+++ b/master/sdo_request.c	Sun Dec 27 16:58:19 2009 +0100
@@ -145,7 +145,7 @@
     ec_sdo_request_clear_data(req);
 
     if (!(req->data = (uint8_t *) kmalloc(size, GFP_KERNEL))) {
-        EC_ERR("Failed to allocate %u bytes of SDO memory.\n", size);
+        EC_ERR("Failed to allocate %zu bytes of SDO memory.\n", size);
         return -ENOMEM;
     }