| Index: chrome/tools/profiles/generate_profile.cc
|
| ===================================================================
|
| --- chrome/tools/profiles/generate_profile.cc (revision 70263)
|
| +++ chrome/tools/profiles/generate_profile.cc (working copy)
|
| @@ -226,9 +226,9 @@
|
| dst_dir = current_dir.Append(dst_dir);
|
| }
|
| if (!file_util::CreateDirectory(dst_dir)) {
|
| - printf("Unable to create directory %ls: %ls\n",
|
| + printf("Unable to create directory %ls: %d\n",
|
| dst_dir.value().c_str(),
|
| - win_util::FormatLastWin32Error().c_str());
|
| + ::GetLastError());
|
| }
|
|
|
| icu_util::Initialize();
|
| @@ -278,8 +278,7 @@
|
| printf("Copying file %ls to %ls\n", path.value().c_str(),
|
| dst_file.value().c_str());
|
| if (!file_util::CopyFile(path, dst_file)) {
|
| - printf("Copying file failed: %ls\n",
|
| - win_util::FormatLastWin32Error().c_str());
|
| + printf("Copying file failed: %d\n", ::GetLastError());
|
| return -1;
|
| }
|
| path = file_iterator.Next();
|
|
|