summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-07-12 03:42:57 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-07-12 03:42:57 (EDT)
commit2264ed1e9893169738767cc2b711082cd89a102f (patch)
treefd84f3e14198a3dc4c1235f5b4282e5ad6c7b808
parentba30561bf216ff20b2f0eb05f5914d40c3601494 (diff)
write_fbcon() Fix the file handle for some output
-rwxr-xr-xbin/bdf2fbcon2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bdf2fbcon b/bin/bdf2fbcon
index 268f882..fb145ad 100755
--- a/bin/bdf2fbcon
+++ b/bin/bdf2fbcon
@@ -341,7 +341,7 @@ sub write_fbcon
$shifted_bitmap = $bitmap;
$shifted_bitmap <<= $bytes_x * 8 - $font->{'width'};
for ($k = ($bytes_x - 1) * 8; $k >= 0; $k -= 8) {
- printf("0x%02x, ",
+ printf($output_fh "0x%02x, ",
($shifted_bitmap >> $k) & 0xFF);
}
printf($output_fh "/* %0" . $font->{'width'} . "b */\n",