path = malloc(strlen(dir)+1+strlen("log")+1);
sprintf(path, "%s/%s", dir, "log");
- log_open(path, LOG_INFO);
+ log_open(path);
free(dir);
free(path);
textdomain(PACKAGE);
#endif
-#if TUTU
- printf("coucou\n");
-#endif
-
while ((optc = getopt_long(argc, argv, "vhdu:", long_options,
NULL)) != -1) {
switch (optc) {
#ifdef HAVE_LIBATIADL
amd_cleanup();
#endif
+#ifdef HAVE_REMOTE_SUPPORT
+ rsensor_cleanup();
+#endif
psensor_list_free(ui.sensors);
ui.sensors = NULL;