Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
xfce4-panel-plugins
xfce4-cpufreq-plugin-0.0.1.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfce4-cpufreq-plugin-0.0.1.patch of Package xfce4-panel-plugins
--- xfce4-cpu-freq-plugin-0.0.1/panel-plugin/cpu-freq-monitor.c +++ xfce4-cpu-freq-plugin-0.0.1/panel-plugin/cpu-freq-monitor.c @@ -25,6 +25,7 @@ #include "cpu-freq-monitor.h" #include <dirent.h> +#include <unistd.h> static gint compare_str (gconstpointer a, gconstpointer b) @@ -50,7 +51,7 @@ if (!g_file_test (filePath, G_FILE_TEST_EXISTS)) { g_free (filePath); - return; + return FALSE; } file = fopen (filePath, "r"); @@ -68,7 +69,7 @@ if (!g_file_test (filePath, G_FILE_TEST_EXISTS)) { g_free (filePath); - return; + return FALSE; } file = fopen (filePath, "r"); @@ -175,7 +176,7 @@ freq = atoi (tokens[i]); cpu->available_freqs = g_list_append ( cpu->available_freqs, - freq); + (gpointer)(intptr_t)freq); i++; } g_strfreev (tokens);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor