diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-08-22 08:30:46 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-08-22 08:30:46 -0400 |
commit | 0defa702d64b5454456fb450bfed291c1057e30c (patch) | |
tree | 66595c8bc286993ce1bbd83852a0959cd13b6cd6 | |
parent | 7b7798dc92170c6d1399ca0e683de892cc154b61 (diff) |
-rw-r--r-- | cmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -118,7 +118,7 @@ int main(int argc, char *argv[]) } else if (c2 == EOF && output != SILENT) { fprintf(stderr, "cmp: EOF on %s\n", file2); } else if (output == ALL) { - printf("%zd %o %o\n", byte, c1, c2); + printf("%zd %hho %hho\n", byte, c1, c2); continue; } else if (output != SILENT) { printf("%s %s differ: char %zd, line %zd\n", |