diff options
author | Chris Dickens <christopher.a.dickens@gmail.com> | 2020-08-18 15:49:22 -0700 |
---|---|---|
committer | Chris Dickens <christopher.a.dickens@gmail.com> | 2020-08-18 15:49:22 -0700 |
commit | 0abebc57a553ee3851e2ad8ff1a9794d943aca34 (patch) | |
tree | aa2b184e7b718da990f8130998afa40f6f771005 /examples | |
parent | 5671fc4dbe691786280f78323533cb1ebd7702dd (diff) | |
download | libusb-0abebc57a553ee3851e2ad8ff1a9794d943aca34.tar.gz |
Fix typos detected by codespell and manual inspection
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/hotplugtest.c | 2 | ||||
-rw-r--r-- | examples/sam3u_benchmark.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/hotplugtest.c b/examples/hotplugtest.c index 4d0db5e..94f7e56 100644 --- a/examples/hotplugtest.c +++ b/examples/hotplugtest.c @@ -95,7 +95,7 @@ int main(int argc, char *argv[]) } if (!libusb_has_capability (LIBUSB_CAP_HAS_HOTPLUG)) { - printf ("Hotplug capabilites are not supported on this platform\n"); + printf ("Hotplug capabilities are not supported on this platform\n"); libusb_exit (NULL); return EXIT_FAILURE; } diff --git a/examples/sam3u_benchmark.c b/examples/sam3u_benchmark.c index b362106..68c157d 100644 --- a/examples/sam3u_benchmark.c +++ b/examples/sam3u_benchmark.c @@ -132,7 +132,7 @@ static void measure(void) diff_msec = (tv_stop.tv_sec - tv_start.tv_sec) * 1000L; diff_msec += (tv_stop.tv_usec - tv_start.tv_usec) / 1000L; - printf("%lu transfers (total %lu bytes) in %lu miliseconds => %lu bytes/sec\n", + printf("%lu transfers (total %lu bytes) in %lu milliseconds => %lu bytes/sec\n", num_xfer, num_bytes, diff_msec, (num_bytes * 1000L) / diff_msec); } |