X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=blobdiff_plain;f=src%2Fmain.c;h=288a199a6767002e04d06de5c7fab0ba2c52db29;hp=ab5627a86268eb9014d0f76ec530c24eef708532;hb=d0c0af9ac5e98dff536e74cb442b585292d6a051;hpb=944ad55b83e92801410336ec701bb12fe262e57f diff --git a/src/main.c b/src/main.c index ab5627a..288a199 100644 --- a/src/main.c +++ b/src/main.c @@ -467,7 +467,7 @@ static struct psensor **create_sensors_list(const char *url, sensors = cpu_psensor_list_add(sensors, 600); #endif #ifdef HAVE_LIBUDISKS2 - udisks2_psensor_list_add(&sensors, 600); + udisks2_psensor_list_append(&sensors, 600); #endif }