summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bluetooth
diff options
context:
space:
mode:
authoremax <emax@FreeBSD.org>2005-01-12 20:06:16 +0000
committeremax <emax@FreeBSD.org>2005-01-12 20:06:16 +0000
commit9bd0242d8322ace3dec4e7885b32881e855d6057 (patch)
treea511a313aca1645ed757c8bd89f220e04916ecf2 /usr.sbin/bluetooth
parent2411c5a7629c0c5a07365475a77fddb9ababfb46 (diff)
downloadFreeBSD-src-9bd0242d8322ace3dec4e7885b32881e855d6057.zip
FreeBSD-src-9bd0242d8322ace3dec4e7885b32881e855d6057.tar.gz
Fix typo %d -> %x
That should fix the problem with invalid PSM returned from bthidcontrol. Pointy hat goes to me. PR: misc/76107 Submitted by: Hiroyuki Aizu < aizu at navi dot org > MFC after: 1 day
Diffstat (limited to 'usr.sbin/bluetooth')
-rw-r--r--usr.sbin/bluetooth/bthidd/parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bluetooth/bthidd/parser.y b/usr.sbin/bluetooth/bthidd/parser.y
index 7c4140c..7a95d26 100644
--- a/usr.sbin/bluetooth/bthidd/parser.y
+++ b/usr.sbin/bluetooth/bthidd/parser.y
@@ -302,7 +302,7 @@ print_hid_device(hid_device_p hid_device, FILE *f)
"device {\n" \
" bdaddr %s;\n" \
" control_psm 0x%x;\n" \
-" interrupt_psm 0x%d;\n" \
+" interrupt_psm 0x%x;\n" \
" reconnect_initiate %s;\n" \
" battery_power %s;\n" \
" normally_connectable %s;\n" \
OpenPOWER on IntegriCloud