From: Antonio Ospite Date: Sat, 9 Jan 2016 12:18:40 +0000 (+0100) Subject: Fix a missing parenthesis in some output strings X-Git-Tag: v0.1.7~43 X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/25e8c0ca3422ca4c678e4ec2f6f10c57037d8163?ds=sidebyside Fix a missing parenthesis in some output strings --- diff --git a/examples/am7xxx-modeswitch.c b/examples/am7xxx-modeswitch.c index abc35d3..d5bd304 100644 --- a/examples/am7xxx-modeswitch.c +++ b/examples/am7xxx-modeswitch.c @@ -101,7 +101,7 @@ int main(void) } if (current_configuration != AM7XXX_STORAGE_CONFIGURATION) { - fprintf(stderr, "libusb configuration changed (expected: %d, current: %d\n", + fprintf(stderr, "libusb configuration changed (expected: %d, current: %d)\n", AM7XXX_STORAGE_CONFIGURATION, current_configuration); ret = -EINVAL; goto out_libusb_release_interface; diff --git a/src/am7xxx.c b/src/am7xxx.c index 5dd6992..eb715d3 100644 --- a/src/am7xxx.c +++ b/src/am7xxx.c @@ -800,7 +800,7 @@ static int open_device(am7xxx_context *ctx, } if (current_configuration != (*dev)->desc->configuration) { - debug(ctx, "libusb configuration changed (expected: %hhu, current: %d\n", + debug(ctx, "libusb configuration changed (expected: %hhu, current: %d)\n", (*dev)->desc->configuration, current_configuration); ret = -EINVAL; goto out_libusb_release_interface;