fix cpufreq.c for reverting process
Signed-off-by: Jean Francis Dominique S. Mabalot <jfdsmabalot@redhat.com>