[syslinux:master] diag/geodsp: mk-lba-img.pl misdirects a status message
syslinux-bot for Gene Cumm
gene.cumm at gmail.com
Sun Feb 15 13:09:07 PST 2015
Commit-ID: 69cd07642a7d95265888f670f8d050f1ddf3ab01
Gitweb: http://www.syslinux.org/commit/69cd07642a7d95265888f670f8d050f1ddf3ab01
Author: Gene Cumm <gene.cumm at gmail.com>
AuthorDate: Sun, 15 Feb 2015 10:32:53 -0500
Committer: Gene Cumm <gene.cumm at gmail.com>
CommitDate: Sun, 15 Feb 2015 10:32:53 -0500
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 at gmail.com>
---
diag/geodsp/mk-lba-img.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diag/geodsp/mk-lba-img.pl b/diag/geodsp/mk-lba-img.pl
index 59ef4f0..181c0f7 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);
}
More information about the Syslinux-commits
mailing list