* Make linkcatkeys output the fingerprint in decimal in case of error. This makes it easier to match with the one in the
catkey file. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37766 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -277,7 +277,7 @@ PlainTextCatalog::ReadFromFile(const char *path)
|
|||||||
uint32 checkFP = ComputeFingerprint();
|
uint32 checkFP = ComputeFingerprint();
|
||||||
if (fFingerprint != checkFP) {
|
if (fFingerprint != checkFP) {
|
||||||
log_team(LOG_DEBUG, "plaintext-catalog(sig=%s, lang=%s) "
|
log_team(LOG_DEBUG, "plaintext-catalog(sig=%s, lang=%s) "
|
||||||
"has wrong fingerprint after load (%lX instead of %lX). "
|
"has wrong fingerprint after load (%lu instead of %lu). "
|
||||||
"The catalog data may be corrupted, so this catalog is "
|
"The catalog data may be corrupted, so this catalog is "
|
||||||
"skipped.\n",
|
"skipped.\n",
|
||||||
fSignature.String(), fLanguageName.String(), checkFP,
|
fSignature.String(), fLanguageName.String(), checkFP,
|
||||||
|
|||||||
@@ -231,7 +231,7 @@ PlainTextCatalog::ReadFromFile(const char *path)
|
|||||||
uint32 checkFP = ComputeFingerprint();
|
uint32 checkFP = ComputeFingerprint();
|
||||||
if (fFingerprint != checkFP) {
|
if (fFingerprint != checkFP) {
|
||||||
fprintf(stderr, "plaintext-catalog(sig=%s, lang=%s) "
|
fprintf(stderr, "plaintext-catalog(sig=%s, lang=%s) "
|
||||||
"has wrong fingerprint after load (%X instead of %X). "
|
"has wrong fingerprint after load (%u instead of %u). "
|
||||||
"The catalog data may be corrupted, so this catalog is "
|
"The catalog data may be corrupted, so this catalog is "
|
||||||
"skipped.\n",
|
"skipped.\n",
|
||||||
fSignature.String(), fLanguageName.String(), checkFP,
|
fSignature.String(), fLanguageName.String(), checkFP,
|
||||||
|
|||||||
Reference in New Issue
Block a user