diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-30 02:18:37 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-30 02:18:37 +0000 |
commit | 22e505a37817140d7142255c0c440ba8951f24b6 (patch) | |
tree | 48cd68b3037238795647559e61a464b18379231e /user/mtdev/printf-format.patch | |
parent | c76fbb6394b8371b7262660390c9c4098c1d5f0b (diff) | |
download | packages-22e505a37817140d7142255c0c440ba8951f24b6.tar.gz packages-22e505a37817140d7142255c0c440ba8951f24b6.tar.bz2 packages-22e505a37817140d7142255c0c440ba8951f24b6.tar.xz packages-22e505a37817140d7142255c0c440ba8951f24b6.zip |
user/mtdev: Bump to 1.1.6
Diffstat (limited to 'user/mtdev/printf-format.patch')
-rw-r--r-- | user/mtdev/printf-format.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/user/mtdev/printf-format.patch b/user/mtdev/printf-format.patch new file mode 100644 index 000000000..46d187f64 --- /dev/null +++ b/user/mtdev/printf-format.patch @@ -0,0 +1,19 @@ +--- mtdev-1.1.6/test/mtdev-test.c.old 2020-01-26 14:00:32.000000000 +0000 ++++ mtdev-1.1.6/test/mtdev-test.c 2020-01-30 02:17:49.009346559 +0000 +@@ -31,6 +31,7 @@ + #include <unistd.h> + #include <fcntl.h> + #include <stdint.h> ++#include <inttypes.h> + + #ifndef input_event_sec + #define input_event_sec time.tv_sec +@@ -56,7 +57,7 @@ + mstime_t evtime = ev->input_event_usec / ms + ev->input_event_sec * ms; + if (ev->type == EV_ABS && ev->code == ABS_MT_SLOT) + slot = ev->value; +- fprintf(stderr, "%012llx %02d %01d %04x %d\n", ++ fprintf(stderr, "%012"PRIx64" %02d %01d %04x %d\n", + evtime, slot, ev->type, ev->code, ev->value); + } + |