hid2hci error message wrong

Stefan Seyfried <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <[email protected]>
Hi,

the message is wrong:

root@susi:~# hid2hci
No devices in HCI mode found

Index: tools/hid2hci.c
===================================================================
RCS file: /cvsroot/bluez/utils/tools/hid2hci.c,v
retrieving revision 1.18
diff -u -p -r1.18 hid2hci.c
--- tools/hid2hci.c	2 Feb 2008 03:37:54 -0000	1.18
+++ tools/hid2hci.c	19 Mar 2008 17:06:45 -0000
@@ -332,7 +332,7 @@ int main(int argc, char *argv[])
 	if (num <= 0) {
 		if (!quiet)
 			fprintf(stderr, "No devices in %s mode found\n",
-							mode ? "HID" : "HCI");
+							mode ? "HCI" : "HID");
 		exit(1);
 	}

-- 
Stefan Seyfried
R&D Team Mobile Devices            |              "Any ideas, John?"
SUSE LINUX Products GmbH, Nürnberg | "Well, surrounding them's out."

This footer brought to you by insane German lawmakers:
SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.