diff options
author | Rob Landley <rob@landley.net> | 2015-03-01 16:43:01 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-03-01 16:43:01 -0600 |
commit | 5f1f34ae1a227edbb4b0bba7fe99009d4efd94bd (patch) | |
tree | ba1a4312963a9392b92980bce3acd7240d6c780c /toys/other/modinfo.c | |
parent | eb4b1143b1f54a96002a83ea961d40d3169e1ae2 (diff) | |
download | toybox-5f1f34ae1a227edbb4b0bba7fe99009d4efd94bd.tar.gz |
Fix several printf_format warnings.
Diffstat (limited to 'toys/other/modinfo.c')
-rw-r--r-- | toys/other/modinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/modinfo.c b/toys/other/modinfo.c index f572a991..a7e6b4bc 100644 --- a/toys/other/modinfo.c +++ b/toys/other/modinfo.c @@ -27,7 +27,7 @@ GLOBALS( static void output_field(char *field, char *value) { - if (!TT.field) xprintf("%s:%*c", field, 15 - strlen(field), ' '); + if (!TT.field) xprintf("%s:%*c", field, 15-(int)strlen(field), ' '); else if (strcmp(TT.field, field)) return; xprintf("%s", value); xputc((toys.optflags & FLAG_0) ? 0 : '\n'); |