Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151499062
D54869.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
574 B
Referenced Files
None
Subscribers
None
D54869.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 9, 8:28 PM (16 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28001523
Default Alt Text
D54869.diff (574 B)
Attached To
Mode
D54869: bluetooth: Don't use a non-string to initialize NG_HCI_BDADDR_ANY
Attached
Detach File
Event Timeline
Log In to Comment