projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b352229
)
code style
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Thu, 18 Sep 2014 07:10:42 +0000
(09:10 +0200)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Thu, 18 Sep 2014 07:10:42 +0000
(09:10 +0200)
src/lib/hdd_hddtemp.c
patch
|
blob
|
history
diff --git
a/src/lib/hdd_hddtemp.c
b/src/lib/hdd_hddtemp.c
index
4aac817
..
86324f7
100644
(file)
--- a/
src/lib/hdd_hddtemp.c
+++ b/
src/lib/hdd_hddtemp.c
@@
-234,7
+234,9
@@
static void update(struct psensor **sensors, struct hdd_info *info)
void hddtemp_psensor_list_update(struct psensor **sensors)
{
- char *hddtemp_output = fetch();
+ char *hddtemp_output;
+
+ hddtemp_output = fetch();
if (!hddtemp_output)
return;