Fix a missing parenthesis in some output strings
authorAntonio Ospite <ao2@ao2.it>
Sat, 9 Jan 2016 12:18:40 +0000 (13:18 +0100)
committerAntonio Ospite <ao2@ao2.it>
Sat, 9 Jan 2016 12:18:40 +0000 (13:18 +0100)
examples/am7xxx-modeswitch.c
src/am7xxx.c

index abc35d3..d5bd304 100644 (file)
@@ -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;
index 5dd6992..eb715d3 100644 (file)
@@ -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;