aboutsummaryrefslogtreecommitdiffstats
path: root/diag
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2015-02-15 10:32:53 -0500
committerGene Cumm <gene.cumm@gmail.com>2015-02-15 10:32:53 -0500
commit69cd07642a7d95265888f670f8d050f1ddf3ab01 (patch)
treee1a1d2ba87d7f3d544e33b27f1b3c8c38c8f9c81 /diag
parent83aad4f69065509ba5b1c080edccfed316a4cff0 (diff)
downloadsyslinux-69cd07642a7d95265888f670f8d050f1ddf3ab01.tar.gz
syslinux-69cd07642a7d95265888f670f8d050f1ddf3ab01.tar.xz
syslinux-69cd07642a7d95265888f670f8d050f1ddf3ab01.zip
diag/geodsp: mk-lba-img.pl misdirects a status message
mk-lba-img.pl misdirects a status message about len/tail such that it hits stdout (which may be our file) instead of stderr. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Diffstat (limited to 'diag')
-rwxr-xr-xdiag/geodsp/mk-lba-img.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/diag/geodsp/mk-lba-img.pl b/diag/geodsp/mk-lba-img.pl
index 59ef4f0f..181c0f70 100755
--- a/diag/geodsp/mk-lba-img.pl
+++ b/diag/geodsp/mk-lba-img.pl
@@ -65,7 +65,7 @@ while ( read($IFILE, $ch, 1) ) {
}
$tail = (SECTOR_SIZE - ($len % SECTOR_SIZE)) % SECTOR_SIZE;
$ch = pack("C", 0);
-print("Len: $len\ttail: $tail\n");
+print(STDERR "Len: $len\ttail: $tail\n");
for ($i=0; $i<$tail; $i++) {
print($OFILE $ch);
}