Page MenuHomeFreeBSD

D54869.id170552.diff
No OneTemporary

D54869.id170552.diff

diff --git a/sys/netgraph/bluetooth/include/ng_hci.h b/sys/netgraph/bluetooth/include/ng_hci.h
--- a/sys/netgraph/bluetooth/include/ng_hci.h
+++ b/sys/netgraph/bluetooth/include/ng_hci.h
@@ -447,8 +447,8 @@
} __attribute__ ((packed)) bdaddr_t;
typedef bdaddr_t * bdaddr_p;
-/* Any BD_ADDR. Note: This is actually 7 bytes (count '\0' terminator) */
-#define NG_HCI_BDADDR_ANY (&(const bdaddr_t){"\000\000\000\000\000\000"})
+/* Any BD_ADDR. */
+#define NG_HCI_BDADDR_ANY (&(const bdaddr_t){ { 0, 0, 0, 0, 0, 0 } })
/* HCI status return parameter */
typedef struct {

File Metadata

Mime Type
text/plain
Expires
Wed, Aug 26, 7:14 PM (2 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37321815
Default Alt Text
D54869.id170552.diff (574 B)

Event Timeline