log_debug("hdd_psensor_list_add(hdd_atasmart) open %s", *tmp);
if (!sk_disk_open(*tmp, &disk)) {
- id = malloc(strlen("hdd at") + strlen(*tmp) + 1);
- strcpy(id, "hdd at");
+ id = malloc(strlen("atasmart ") + strlen(*tmp) + 1);
+ strcpy(id, "atasmart ");
strcat(id, *tmp);
sensor = create_sensor(id,
struct psensor *sensor;
struct psensor **tmp_sensors;
- char *id = malloc(strlen("hdd ") + strlen(info.name) + 1);
- strcpy(id, "hdd ");
+ char *id = malloc(strlen("hddtemp ") + strlen(info.name) + 1);
+ strcpy(id, "hddtemp ");
strcat(id, info.name);
sensor = create_sensor(id, info.name, values_max_length);