~iank/evhz

0a8bb0da70791d67c4f9017dd9690759c4881e7f — Ian Kelling 10 years ago 85054bc
fix handlig of string /dev/input/event[10..49]
1 files changed, 1 insertions(+), 1 deletions(-)

M evhz.c
M evhz.c => evhz.c +1 -1
@@ 57,7 57,7 @@ int main(int argc, char *argv[]) {

	// List input devices
	for(i = 0; i < EVENTS; i++) {
		char device[18];
		char device[19];

		sprintf(device, "/dev/input/event%i", i);
		events[i].fd = open(device, O_RDONLY);