fix unused variable for logging ...

    process_stats.c:772:11: warning: unused variable 'failing_pid'
    process_stats.c:1070:10: warning: variable 'p' set but not used [-Wunused-but-set-variable]