[PATCH next] tools/testing: Check correct variable in open_procmap()