diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-08-14 12:28:45 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-08-14 12:28:45 +0300 |
commit | 4b8b0676897820c0fa706afc473e25368791324e (patch) | |
tree | 57956e9b58076c511628274e9c64489e93a95dd9 /src/storage.c | |
parent | 3067e58bc48a38778be97175b49ab711b06ed723 (diff) |
storage: Mark write_device_name name parameter as const
Diffstat (limited to 'src/storage.c')
-rw-r--r-- | src/storage.c | 2 |
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; |