patch-2.4.10 linux/net/bluetooth/lib.c

Next file: linux/net/bluetooth/syms.c
Previous file: linux/net/bluetooth/l2cap_proc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.9/linux/net/bluetooth/lib.c linux/net/bluetooth/lib.c
@@ -25,7 +25,7 @@
 /*
  * BlueZ kernel library.
  *
- * $Id: lib.c,v 1.1 2001/06/01 08:12:11 davem Exp $
+ * $Id: lib.c,v 1.3 2001/06/22 23:14:23 maxk Exp $
  */
 
 #include <linux/kernel.h>
@@ -76,7 +76,8 @@
 
 	i ^= 1;
 	sprintf(str[i], "%2.2X:%2.2X:%2.2X:%2.2X:%2.2X:%2.2X",
-	        ba->b0, ba->b1, ba->b2, ba->b3, ba->b4, ba->b5);
+	        ba->b[0], ba->b[1], ba->b[2],
+		ba->b[3], ba->b[4], ba->b[5]);
 
 	return str[i];
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)