Fixed format specifiers. stable-1.5
authorFlorian Pose <fp@igh-essen.com>
Thu, 06 Dec 2012 13:54:09 +0100
branchstable-1.5
changeset 2480 8b1e26cc88ac
parent 2479 b7f84bebd965
child 2481 c99ff159b60d
Fixed format specifiers.
lib/slave_config.c
--- a/lib/slave_config.c	Thu Dec 06 13:53:38 2012 +0100
+++ b/lib/slave_config.c	Thu Dec 06 13:54:09 2012 +0100
@@ -521,7 +521,7 @@
     if (size) {
         req->data = malloc(size);
         if (!req->data) {
-            fprintf(stderr, "Failed to allocate %u bytes of SDO data"
+            fprintf(stderr, "Failed to allocate %zu bytes of SDO data"
                     " memory.\n", size);
             free(req);
             return 0;
@@ -591,7 +591,7 @@
     if (size) {
         reg->data = malloc(size);
         if (!reg->data) {
-            fprintf(stderr, "Failed to allocate %u bytes of register data"
+            fprintf(stderr, "Failed to allocate %zu bytes of register data"
                     " memory.\n", size);
             free(reg);
             return 0;
@@ -656,7 +656,7 @@
     if (size) {
         voe->data = malloc(size);
         if (!voe->data) {
-            fprintf(stderr, "Failed to allocate %u bytes of VoE data"
+            fprintf(stderr, "Failed to allocate %zu bytes of VoE data"
                     " memory.\n", size);
             free(voe);
             return 0;