chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
man: document sd_journal_get_cursor()
[elogind.git]
/
src
/
udev
/
udev-builtin-input_id.c
diff --git
a/src/udev/udev-builtin-input_id.c
b/src/udev/udev-builtin-input_id.c
index fce10a351acd6a19b35a5e564831ffbf149f67f6..ce696eead05e43f63d4b2810848163f57ca0f033 100644
(file)
--- a/
src/udev/udev-builtin-input_id.c
+++ b/
src/udev/udev-builtin-input_id.c
@@
-159,7
+159,7
@@
static void test_key (struct udev_device *dev,
found = 0;
for (i = 0; i < BTN_MISC/BITS_PER_LONG; ++i) {
found |= bitmask_key[i];
found = 0;
for (i = 0; i < BTN_MISC/BITS_PER_LONG; ++i) {
found |= bitmask_key[i];
- log_debug("test_key: checking bit block %lu for any keys; found=%i\n", i*BITS_PER_LONG, found > 0);
+ log_debug("test_key: checking bit block %lu for any keys; found=%i\n",
(unsigned long)
i*BITS_PER_LONG, found > 0);
}
/* If there are no keys in the lower block, check the higher block */
if (!found) {
}
/* If there are no keys in the lower block, check the higher block */
if (!found) {