#include <atasmart.h>
#include <linux/fs.h>
-#include "pio.h"
-#include "hdd.h"
-#include "log.h"
+#include <pio.h>
+#include <hdd.h>
+#include <plog.h>
static int filter_sd(const char *p)
{
s = psensor_create(id,
strdup(name),
- strdup("HDD"),
+ strdup(_("Disk")),
t,
values_max_length);
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,