# HG changeset patch # User Florian Pose # Date 1354798449 -3600 # Node ID 8b1e26cc88acd87088a911a3be8f9e41abac7387 # Parent b7f84bebd965ed4323f0f0010c3cd5b041eaadfa Fixed format specifiers. diff -r b7f84bebd965 -r 8b1e26cc88ac 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;