Fix od(1) output

Of course, for right-justification we want no "+"'s in the output.
This commit is contained in:
FRIGN 2015-10-26 00:08:59 +01:00 committed by sin
parent d03baf1697
commit eeccb0a5ea
1 changed files with 1 additions and 1 deletions

2
od.c
View File

@ -83,7 +83,7 @@ printchunk(unsigned char *s, unsigned char format, size_t len) {
basefac <<= 8;
}
}
fmt[2] = big_endian ? '-' : '+';
fmt[2] = big_endian ? '-' : ' ';
fmt[6] = format;
printf(fmt, (int)(3 * len + len - 1), res);
}