Patches for check_procs: fix for -p options [sf#652082] [#193]