aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/dump.c b/libbb/dump.c
index 30f69830b..98f004ff6 100644
--- a/libbb/dump.c
+++ b/libbb/dump.c
@@ -499,7 +499,7 @@ static void conv_u(PR * pr, u_char * p)
/* od used nl, not lf */
if (*p <= 0x1f) {
*pr->cchar = 's';
- printf(pr->fmt, list[4 * (int)(*p)]);
+ printf(pr->fmt, list + (4 * (int)*p));
} else if (*p == 0x7f) {
*pr->cchar = 's';
printf(pr->fmt, "del");