diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-07-13 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-07-13 08:00:00 +0000 |
commit | 2d1a6b698d755f52d58ad15c9d444af6b097b005 (patch) | |
tree | 1fb042e6f3ddc443887dc0bfef18a19fb19e099b /tests/ioctl_evdev.c | |
parent | f2915826421954e32595e903f7af1871503fc10b (diff) | |
download | strace-2d1a6b698d755f52d58ad15c9d444af6b097b005.tar.gz |
evdev_mpers: use print_fields.h macros
* evdev_mpers.c: Include "print_fields.h".
(decode_envelope, ff_effect_ioctl): Use PRINT_FIELD_* macros
from print_fields.h.
* tests/ioctl_evdev.c (print_ffe_common): Update expected output.
Diffstat (limited to 'tests/ioctl_evdev.c')
-rw-r--r-- | tests/ioctl_evdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ioctl_evdev.c b/tests/ioctl_evdev.c index df62fbbd3..94b12bac7 100644 --- a/tests/ioctl_evdev.c +++ b/tests/ioctl_evdev.c @@ -50,7 +50,7 @@ static void print_ffe_common(const struct ff_effect *const ffe, const char *const type_str) { printf("ioctl(-1, %s", XLAT_STR(EVIOCSFF)); - printf(", {type=%s, id=%" PRIu16 + printf(", {type=%s, id=%" PRId16 ", direction=%" PRIu16 ", ", sprintxlat(type_str, ffe->type, NULL), ffe->id, ffe->direction); |