commit eeccb0a5eacb70b3ed594b704034ffd55f5e6b9e
parent d03baf1697443dd71b01aeeb6b7ef5b1ac070cf5
Author: FRIGN <dev@frign.de>
Date: Mon, 26 Oct 2015 00:08:59 +0100
Fix od(1) output
Of course, for right-justification we want no "+"'s in the output.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/od.c b/od.c
@@ -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);
}