Module Name:    src
Committed By:   jakllsch
Date:           Tue Jan  5 17:57:06 UTC 2010

Modified Files:
        src/lib/libusbhid: parse.c

Log Message:
Fix copy-paste-o.  Per the HID spec, Global Item Tag 0b001101nn is
Physical Minimum, not a alias for Physical Maximum.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libusbhid/parse.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libusbhid/parse.c
diff -u src/lib/libusbhid/parse.c:1.5 src/lib/libusbhid/parse.c:1.6
--- src/lib/libusbhid/parse.c:1.5	Mon Jan  5 17:55:48 2004
+++ src/lib/libusbhid/parse.c	Tue Jan  5 17:57:06 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: parse.c,v 1.5 2004/01/05 17:55:48 augustss Exp $	*/
+/*	$NetBSD: parse.c,v 1.6 2010/01/05 17:57:06 jakllsch Exp $	*/
 
 /*
  * Copyright (c) 1999, 2001 Lennart Augustsson <[email protected]>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: parse.c,v 1.5 2004/01/05 17:55:48 augustss Exp $");
+__RCSID("$NetBSD: parse.c,v 1.6 2010/01/05 17:57:06 jakllsch Exp $");
 
 #include <assert.h>
 #include <stdlib.h>
@@ -333,7 +333,7 @@
 				c->logical_maximum = dval;
 				break;
 			case 3:
-				c->physical_maximum = dval;
+				c->physical_minimum = dval;
 				break;
 			case 4:
 				c->physical_maximum = dval;

Reply via email to