mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48:11 +00:00
parent
eb6cf00c0e
commit
feacf774fb
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ int main(int argc, char** argv)
|
||||||
while (!file->eof() && !file->has_error())
|
while (!file->eof() && !file->has_error())
|
||||||
crc32.update(file->read(PAGE_SIZE));
|
crc32.update(file->read(PAGE_SIZE));
|
||||||
if (file->has_error()) {
|
if (file->has_error()) {
|
||||||
warnln("Failed to read {}: {}", filepath, file->error_string());
|
warnln("{}: Failed to read {}: {}", argv[0], filepath, file->error_string());
|
||||||
fail = true;
|
fail = true;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -69,7 +69,7 @@ int main(int argc, char** argv)
|
||||||
while (!file->eof() && !file->has_error())
|
while (!file->eof() && !file->has_error())
|
||||||
adler32.update(file->read(PAGE_SIZE));
|
adler32.update(file->read(PAGE_SIZE));
|
||||||
if (file->has_error()) {
|
if (file->has_error()) {
|
||||||
warnln("Failed to read {}: {}", filepath, file->error_string());
|
warnln("{}: Failed to read {}: {}", argv[0], filepath, file->error_string());
|
||||||
fail = true;
|
fail = true;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue