projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tools: gpio: fix -c option of gpio-event-mon
[linux-2.6-microblaze.git]
/
tools
/
gpio
/
gpio-event-mon.c
diff --git
a/tools/gpio/gpio-event-mon.c
b/tools/gpio/gpio-event-mon.c
index
6c12295
..
5dee2b9
100644
(file)
--- a/
tools/gpio/gpio-event-mon.c
+++ b/
tools/gpio/gpio-event-mon.c
@@
-86,6
+86,7
@@
int monitor_device(const char *device_name,
gpiotools_test_bit(values.bits, i));
}
gpiotools_test_bit(values.bits, i));
}
+ i = 0;
while (1) {
struct gpio_v2_line_event event;
while (1) {
struct gpio_v2_line_event event;