diff options
author | Elliott Hughes <enh@google.com> | 2018-07-09 14:54:55 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-07-13 12:48:29 -0500 |
commit | 05cca08e0ffe15d170d4f8d251be4257dd432617 (patch) | |
tree | 6cc40e02a6495391d6468502e8bab51a5b11a999 | |
parent | 2352bd4da2b2ec1dc8d7579066f64d70c7afd1dd (diff) | |
download | toybox-05cca08e0ffe15d170d4f8d251be4257dd432617.tar.gz |
diff: fix build with -Wformat=security.
The problem with testing changes on my desktop is that they won't always
compile when I try to sync AOSP...
-rw-r--r-- | toys/pending/diff.c | 2 |
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) |