Format string cleanup by sommerfeld.

This commit is contained in:
is 2000-10-10 19:23:58 +00:00
parent e999d8013c
commit a9006f3ed5
2 changed files with 7 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: usage.c,v 1.7 2000/09/24 02:17:52 augustss Exp $ */
/* $NetBSD: usage.c,v 1.8 2000/10/10 19:23:58 is Exp $ */
/*
* Copyright (c) 1999 Lennart Augustsson <augustss@netbsd.org>
@ -182,7 +182,8 @@ hid_usage_in_page(unsigned int u)
for (j = 0; j < pages[k].pagesize; j++) {
us = pages[k].page_contents[j].usage;
if (us == -1) {
sprintf(b, pages[k].page_contents[j].name, i);
sprintf(b, "%s %d",
pages[k].page_contents[j].name, i);
return b;
}
if (us == i)

View File

@ -1,4 +1,4 @@
# $NetBSD: usb_hid_usages,v 1.3 1999/07/02 15:46:53 simonb Exp $
# $NetBSD: usb_hid_usages,v 1.4 2000/10/10 19:23:58 is Exp $
#
# USB HID usage table
# Syntax:
@ -454,11 +454,11 @@
9 Button
0x00 No Button Pressed
* Button %d
* Button
10 Ordinal
0x00 Unused
* Instance %d
* Instance
11 Telephony
0x00 Unassigned
@ -854,7 +854,7 @@
129 Monitor Enumerated Values
0x00 unassigned
* ENUM %d
* ENUM
130 VESA Virtual Controls
0x10 Brightness