summaryrefslogtreecommitdiff
path: root/src/storage.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-08-14 12:28:45 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2012-08-14 12:28:45 +0300
commit4b8b0676897820c0fa706afc473e25368791324e (patch)
tree57956e9b58076c511628274e9c64489e93a95dd9 /src/storage.c
parent3067e58bc48a38778be97175b49ab711b06ed723 (diff)
storage: Mark write_device_name name parameter as const
Diffstat (limited to 'src/storage.c')
-rw-r--r--src/storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage.c b/src/storage.c
index 3db17545..96db6f55 100644
--- a/src/storage.c
+++ b/src/storage.c
@@ -379,7 +379,7 @@ int read_remote_class(bdaddr_t *local, bdaddr_t *peer, uint32_t *class)
}
int write_device_name(bdaddr_t *local, bdaddr_t *peer, uint8_t peer_type,
- char *name)
+ const char *name)
{
char filename[PATH_MAX + 1], key[20], str[HCI_MAX_NAME_LENGTH + 1];
int i;