summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-29 20:11:41 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-29 20:11:41 (EDT)
commit4ab3536392f72ea7237e5ead44e945d12f1f4c7d (patch)
tree252788f67c1eaac457d4c6d6c6dbf53102b8bd99
parent325113fc7792d4fd73aeea08a7f6b50361c4cb5a (diff)
write_fbcon(): Name loop variable
-rwxr-xr-xbin/bdf2fbcon4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bdf2fbcon b/bin/bdf2fbcon
index e6cda04..7f50dcf 100755
--- a/bin/bdf2fbcon
+++ b/bin/bdf2fbcon
@@ -204,8 +204,8 @@ sub write_fbcon
}
$output_fh->printf("/*\n");
- foreach (@{$font->{'comments'}}) {
- $output_fh->printf(" * %s\n", ($_ or ''));
+ foreach my $comment (@{$font->{'comments'}}) {
+ $output_fh->printf(" * %s\n", ($comment or ''));
}
$output_fh->printf(" * Generated by bdf2fbcon\n */\n\n");
$output_fh->printf("#include <linux/font.h>\n\n");