]> granicus.if.org Git - strace/blobdiff - evdev.c
tests: check decoding of netlink smc_diag_msg attributes
[strace] / evdev.c
diff --git a/evdev.c b/evdev.c
index 8945cfcb825c270046a4604270330b735d0b038f..983bf1488681dc8f3ab01c412c66e87688d4370f 100644 (file)
--- a/evdev.c
+++ b/evdev.c
@@ -497,7 +497,7 @@ evdev_write_ioctl(struct tcb *const tcp, const unsigned int code,
 # ifdef EVIOCREVOKE
                case EVIOCREVOKE:
 # endif
-                       tprintf(", %" PRI_kru, arg);
+                       tprintf(", %" PRI_klu, arg);
                        return 1;
 # ifdef EVIOCSCLOCKID
                case EVIOCSCLOCKID:
@@ -517,7 +517,7 @@ evdev_write_ioctl(struct tcb *const tcp, const unsigned int code,
 MPERS_PRINTER_DECL(int, evdev_ioctl, struct tcb *const tcp,
                   const unsigned int code, const kernel_ulong_t arg)
 {
-       switch(_IOC_DIR(code)) {
+       switch (_IOC_DIR(code)) {
                case _IOC_READ:
                        if (entering(tcp))
                                return 0;