X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdisk.c;h=94257feff7d9cd7d6e65cbed1f173cb2e35f969a;hb=f9d51dc8fabe44f3cd17499713d63b518f0e1853;hp=5df1c9827b465d136e185fa9b15925d142912c10;hpb=125e5cc99a45773dc7559e5478564fbc52f16623;p=collectd.git diff --git a/src/disk.c b/src/disk.c index 5df1c982..94257fef 100644 --- a/src/disk.c +++ b/src/disk.c @@ -148,7 +148,7 @@ static int disk_init (void) { #if HAVE_IOKIT_IOKITLIB_H kern_return_t status; - + if (io_master_port != MACH_PORT_NULL) { mach_port_deallocate (mach_task_self (),