aboutsummaryrefslogtreecommitdiff
path: root/bp.c
diff options
context:
space:
mode:
Diffstat (limited to 'bp.c')
-rw-r--r--bp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bp.c b/bp.c
index c6d9739..ce67ce2 100644
--- a/bp.c
+++ b/bp.c
@@ -166,6 +166,8 @@ static int inplace_modify_file(def_t *defs, file_t *f, vm_op_t *pattern)
}
if (inplace_file) {
+ // Print trailing context lines:
+ print_match(inplace_file, &pr, NULL);
printf("%s\n", f->filename);
fclose(inplace_file);
}