diff options
Diffstat (limited to 'hcid/device.c')
-rw-r--r-- | hcid/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/device.c b/hcid/device.c index a9ea8fc6..5c3518dd 100644 --- a/hcid/device.c +++ b/hcid/device.c @@ -432,7 +432,7 @@ int set_device_name(uint16_t dev_id, const char *name) } if (hci_write_local_name(dd, name, 5000) < 0) { - error("Can't read name for hci%d: %s (%d)", + error("Can't write name for hci%d: %s (%d)", dev_id, strerror(errno), errno); return -errno; } |