diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-01-01 21:20:42 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-01-01 21:20:42 +0100 |
commit | 59d3693d691260f7c5f3719bb1fdd547e9f14cc6 (patch) | |
tree | eb1ae5b62f45ba23257d3fcc6c0985e3d988b574 /bin | |
parent | 4e623379ca2ba5c502395234ab6ab9a8950eb256 (diff) |
tibtoa: A bit more/better error checking
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/tibtoa | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -705,7 +705,7 @@ if (header_type($header) eq 'program') { $out = $special->{$char}->{$char2}; } else { printf STDERR ( - "Unknown byte 0x%02x at offset %d\n", + "Unknown byte 0x%02x at offset 0x%02x\n", $char, $offset - 1, ); @@ -754,4 +754,6 @@ if (header_type($header) eq 'program') { print ' | '; } } +} else { + print STDERR "file type not supported\n"; } |