diff --git a/src/device.c b/src/device.c
index 1f7c895..235145a 100644
--- a/src/device.c
+++ b/src/device.c
&uuid, 0, properties,
NULL, NULL, NULL);
if (!att || gatt_db_attribute_get_handle(att) != value_handle) {
- warn("saving characteristic to db failed");
+ warn("loading characteristic to db failed");
return -EIO;
}
att = gatt_db_get_attribute(db, start);
if (!att) {
- warn("saving included service to db failed - no such service");
+ warn("loading included service to db failed - no such service");
return -EIO;
}
att = gatt_db_service_add_included(service, att);
if (!att) {
- warn("saving included service to db failed");
+ warn("loading included service to db failed");
return -EIO;
}
att = gatt_db_insert_service(db, start, &uuid, primary,
end - start + 1);
if (!att) {
- DBG("ERROR saving service to db!");
+ error("Unable load service into db.");
return -EIO;
}