aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/bluetooth/hci_sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_sysfs.c b/net/bluetooth/hci_sysfs.c
index 6490bf8402f3..1a1f916be44e 100644
--- a/net/bluetooth/hci_sysfs.c
+++ b/net/bluetooth/hci_sysfs.c
@@ -415,7 +415,7 @@ int hci_register_sysfs(struct hci_dev *hdev)
415 dev->class = bt_class; 415 dev->class = bt_class;
416 dev->parent = hdev->parent; 416 dev->parent = hdev->parent;
417 417
418 dev_set_name(dev, hdev->name); 418 dev_set_name(dev, "%s", hdev->name);
419 419
420 dev_set_drvdata(dev, hdev); 420 dev_set_drvdata(dev, hdev);
421 421