aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/pending/diff.c')
-rw-r--r--toys/pending/diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/diff.c b/toys/pending/diff.c
index 2e0ff926..ea11ba29 100644
--- a/toys/pending/diff.c
+++ b/toys/pending/diff.c
@@ -444,7 +444,7 @@ static void print_diff(int a, int b, char c, int *off_set, FILE *fp)
}
}
}
- if (reset) printf(reset);
+ if (reset) printf("%s", reset);
}
static char *concat_file_path(char *path, char *default_path)