[PATCH] lib: Be consistent about vm->pid