projects
/
strace
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47be9f2
)
evdev.c: fix printing of unrecognized event type passed to EVIOCGBIT
author
Dmitry V. Levin
<ldv@altlinux.org>
Sat, 28 May 2016 00:49:17 +0000
(
00:49
+0000)
committer
Dmitry V. Levin
<ldv@altlinux.org>
Sat, 28 May 2016 00:56:47 +0000
(
00:56
+0000)
* evdev.c (bit_ioctl): If event type is not unrecognized,
print the argument as an address.
evdev.c
patch
|
blob
|
history
diff --git
a/evdev.c
b/evdev.c
index 24af1ca9a2726aa444fe362e215bf52d5ecb9aa9..9a6c631b7a8ab07afee015125aa0ecfd1c54df8e 100644
(file)
--- a/
evdev.c
+++ b/
evdev.c
@@
-376,7
+376,9
@@
bit_ioctl(struct tcb *tcp, const unsigned int ev_nr, const long arg)
return decode_bitset(tcp, arg, evdev_ff_status,
FF_STATUS_MAX, "FF_STATUS_???");
default:
- return 0;
+ tprints(", ");
+ printaddr(arg);
+ return 1;
}
}