]> mj.ucw.cz Git - misc.git/commitdiff
hidtest: cleanup
authorMartin Mares <mj@ucw.cz>
Sat, 6 Apr 2013 20:10:09 +0000 (22:10 +0200)
committerMartin Mares <mj@ucw.cz>
Sat, 6 Apr 2013 20:10:09 +0000 (22:10 +0200)
hidtest.c

index f2d4a95cf8370cf6c495abe15778d4b8e0ff21e5..a9069619ee52cee84d3b6c930a59d184c9f20070 100644 (file)
--- a/hidtest.c
+++ b/hidtest.c
@@ -4,7 +4,7 @@
 #include <fcntl.h>
 #include <sys/ioctl.h>
 #include <asm/types.h>
-#include "/home/mj/linux/linux-2.6.27.4/include/linux/hiddev.h"
+#include <linux/hiddev.h>
 
 static void die(char *x)
 {
@@ -15,7 +15,7 @@ static void die(char *x)
 int main(void)
 {
        int i, j;
-       int fd = open("/dev/.static/dev/usb/hiddev5", O_RDWR);
+       int fd = open("/dev/usb/hiddev0", O_RDWR);
        if (fd < 0) die("open");
 
        int ver;