diff --git a/src/storage.c b/src/storage.c
index cbbf8f6..9a47d29 100644
--- a/src/storage.c
+++ b/src/storage.c
sprintf(&key[17], "#%hhu", bdaddr_type);
/* Deleting all characteristics of a given key */
- create_filename(filename, PATH_MAX, sba, "characteristic");
+ create_filename(filename, PATH_MAX, sba, "characteristics");
delete_by_pattern(filename, key);
/* Deleting all attributes values of a given key */
{
char filename[PATH_MAX + 1], addr[18], key[25];
- create_filename(filename, PATH_MAX, sba, "characteristic");
+ create_filename(filename, PATH_MAX, sba, "characteristics");
create_file(filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
{
char filename[PATH_MAX + 1], addr[18], key[25];
- create_filename(filename, PATH_MAX, sba, "characteristic");
+ create_filename(filename, PATH_MAX, sba, "characteristics");
ba2str(dba, addr);
snprintf(key, sizeof(key), "%17s#%hhu#%04X", addr, bdaddr_type, handle);