projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
removed empty line
[psensor.git]
/
src
/
lib
/
hdd_atasmart.c
diff --git
a/src/lib/hdd_atasmart.c
b/src/lib/hdd_atasmart.c
index
cd8c72b
..
00034b2
100644
(file)
--- a/
src/lib/hdd_atasmart.c
+++ b/
src/lib/hdd_atasmart.c
@@
-55,6
+55,8
@@
create_sensor(char *id, char *name, SkDisk *disk, int values_max_length)
return s;
}
+/* Performs the same tests than sk_disk_open and outputs the
+ result. */
static void analyze_disk(const char *dname)
{
int f;
@@
-96,7
+98,6
@@
static void analyze_disk(const char *dname)
close(f);
}
-
struct psensor **hdd_psensor_list_add(struct psensor **sensors,
int values_max_length)
{