From a452a9fdad649a3bdc85800ca43e59d95fb0d23d Mon Sep 17 00:00:00 2001 From: "finnur@chromium.org" Date: Wed, 14 Aug 2013 00:22:39 +0000 Subject: Fixing arg type in fprintf. Not really a pressing matter, but needed a simple end-to-end test to verify my git tree is functional after vacation (had some issues). As reported in http://www.viva64.com/en/b/0205/ BUG=271530 R=rvargas Review URL: https://chromiumcodereview.appspot.com/23053002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217404 0039d316-1c4b-4281-b951-d872f2087c98 --- sandbox/win/sandbox_poc/pocdll/fs.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sandbox') diff --git a/sandbox/win/sandbox_poc/pocdll/fs.cc b/sandbox/win/sandbox_poc/pocdll/fs.cc index 5fab41b..9a5b2bc 100644 --- a/sandbox/win/sandbox_poc/pocdll/fs.cc +++ b/sandbox/win/sandbox_poc/pocdll/fs.cc @@ -14,7 +14,7 @@ void TryOpenFile(wchar_t *path, FILE *output) { wchar_t path_expanded[MAX_PATH] = {0}; DWORD size = ::ExpandEnvironmentStrings(path, path_expanded, MAX_PATH - 1); if (!size) { - fprintf(output, "[ERROR] Cannot expand \"%S\". Error %S.\r\n", path, + fprintf(output, "[ERROR] Cannot expand \"%S\". Error %d.\r\n", path, ::GetLastError()); } -- cgit v1.1