diff options
Diffstat (limited to 'tools/usb/ffs-test.c')
-rw-r--r-- | tools/usb/ffs-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/usb/ffs-test.c b/tools/usb/ffs-test.c index bbe2e3a2ea62..b9c798631699 100644 --- a/tools/usb/ffs-test.c +++ b/tools/usb/ffs-test.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <sys/types.h> | 37 | #include <sys/types.h> |
38 | #include <unistd.h> | 38 | #include <unistd.h> |
39 | 39 | ||
40 | #include <linux/usb/functionfs.h> | 40 | #include "../../include/linux/usb/functionfs.h" |
41 | 41 | ||
42 | 42 | ||
43 | /******************** Little Endian Handling ********************************/ | 43 | /******************** Little Endian Handling ********************************/ |
@@ -450,7 +450,7 @@ invalid: | |||
450 | len, expected, *p); | 450 | len, expected, *p); |
451 | for (p = buf, len = 0; len < nbytes; ++p, ++len) { | 451 | for (p = buf, len = 0; len < nbytes; ++p, ++len) { |
452 | if (0 == (len % 32)) | 452 | if (0 == (len % 32)) |
453 | fprintf(stderr, "%4d:", len); | 453 | fprintf(stderr, "%4zd:", len); |
454 | fprintf(stderr, " %02x", *p); | 454 | fprintf(stderr, " %02x", *p); |
455 | if (31 == (len % 32)) | 455 | if (31 == (len % 32)) |
456 | fprintf(stderr, "\n"); | 456 | fprintf(stderr, "\n"); |