aboutsummaryrefslogtreecommitdiff
path: root/toys/other/modinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/modinfo.c')
-rw-r--r--toys/other/modinfo.c2
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');