We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5df5e5 commit cf4bd4eCopy full SHA for cf4bd4e
Userland/Utilities/cksum.cpp
@@ -63,7 +63,7 @@ int main(int argc, char** argv)
63
fail = true;
64
continue;
65
}
66
- outln("{} {} {}", crc32.digest(), st.st_size, path);
+ outln("{:08x} {} {}", crc32.digest(), st.st_size, path);
67
} else if (algorithm == "adler32") {
68
Crypto::Checksum::Adler32 adler32;
69
while (!file->eof() && !file->has_error())
@@ -73,7 +73,7 @@ int main(int argc, char** argv)
73
74
75
76
- outln("{} {} {}", adler32.digest(), st.st_size, path);
+ outln("{:08x} {} {}", adler32.digest(), st.st_size, path);
77
} else {
78
warnln("{}: Unknown checksum algorithm: {}", argv[0], algorithm);
79
exit(1);
0 commit comments