diff: rename print_patch to print