bin2hex: actually account for the number of bytes written
authorH. Peter Anvin <hpa@zytor.com>
Fri, 29 May 2009 22:47:20 +0000 (15:47 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 29 May 2009 22:47:20 +0000 (15:47 -0700)
commit2f9949c8d0401557c9ca1679fb1d01948fb88b68
treebee2f71aea4ca2b4042d8642ae0a14a5bb4724e4
parentda8234d25346b60fe091a741d1fdbff9e78b6b51
bin2hex: actually account for the number of bytes written

Unlike C, in Perl printf() doesn't return the number of bytes written.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
utils/bin2hex.pl