Commit 3cc51b98 authored by xhwang@chromium.org's avatar xhwang@chromium.org

Fix output string of pepper_hash_for_uma.

So that the string can be directly copied into histograms.xml.

BUG=111542

Review URL: https://codereview.chromium.org/164253002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251255 0039d316-1c4b-4281-b951-d872f2087c98
parent 0a3cfe1a
......@@ -31,7 +31,7 @@ int main(int argc, char **argv) {
// Strip off the signed bit because UMA doesn't support negative values,
// but takes a signed int as input.
int hash = static_cast<int>(data & 0x7fffffff);
printf("<int value=\"%d\" label=\"%s\">\n", hash, argv[i]);
printf("<int value=\"%d\" label=\"%s\"/>\n", hash, argv[i]);
}
return 0;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment