diff options
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r-- | libbb/xfuncs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index f6b904f..4d85b11 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c @@ -343,8 +343,8 @@ char *bin2hex(char *p, const char *cp, int count) while (count) { unsigned char c = *cp++; /* put lowercase hex digits */ - *p++ = 0x10 | bb_hexdigits_upcase[c >> 4]; - *p++ = 0x10 | bb_hexdigits_upcase[c & 0xf]; + *p++ = 0x20 | bb_hexdigits_upcase[c >> 4]; + *p++ = 0x20 | bb_hexdigits_upcase[c & 0xf]; count--; } return p; |