projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1ab6fb
)
smart: KNF
author
Pierre-Yves Ritschard
<pyr@spootnik.org>
Wed, 10 Jun 2015 13:54:58 +0000
(15:54 +0200)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Wed, 10 Jun 2015 13:55:10 +0000
(15:55 +0200)
src/smart.c
patch
|
blob
|
history
diff --git
a/src/smart.c
b/src/smart.c
index
a9c563e
..
2207bd6
100644
(file)
--- a/
src/smart.c
+++ b/
src/smart.c
@@
-253,7
+253,7
@@
static int smart_read (void)
/* Query status with libatasmart */
smart_handle_disk (devpath);
- udev_device_unref(dev);
+ udev_device_unref
(dev);
}
udev_enumerate_unref (enumerate);