fix unused variable for logging ...

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