Code

smart: KNF
authorPierre-Yves Ritschard <pyr@spootnik.org>
Wed, 10 Jun 2015 13:54:58 +0000 (15:54 +0200)
committerPierre-Yves Ritschard <pyr@spootnik.org>
Wed, 10 Jun 2015 13:54:58 +0000 (15:54 +0200)
src/smart.c

index a9c563eab96ada1ee46031617370f946f1a264e9..2207bd6722449f4de11c3b89a976817ba8702558 100644 (file)
@@ -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);