X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fapple_sensors.c;h=7ed2016f2a3bee68fffd04c41d106fdf8034b143;hb=5a29f19d5501857ddc048ddb37e779fc5fe253df;hp=19d5a49f31731ead712a4d78409bdd87b492007e;hpb=59547eb66a3743ca0b458222d7a4318f3e659a60;p=collectd.git diff --git a/src/apple_sensors.c b/src/apple_sensors.c index 19d5a49f..7ed2016f 100644 --- a/src/apple_sensors.c +++ b/src/apple_sensors.c @@ -59,7 +59,7 @@ static mach_port_t io_master_port = MACH_PORT_NULL; static int as_init (void) { kern_return_t status; - + if (io_master_port != MACH_PORT_NULL) { mach_port_deallocate (mach_task_self (),