Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Unified Diff: nspr/pr/src/md/windows/w95io.c

Issue 1019063003: Update to NSPR 4.10.8 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@master
Patch Set: README bump Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « nspr/pr/src/linking/prlink.c ('k') | nspr/pr/src/misc/prolock.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nspr/pr/src/md/windows/w95io.c
diff --git a/nspr/pr/src/md/windows/w95io.c b/nspr/pr/src/md/windows/w95io.c
index de55a8ffe1afadf05c8cdf10d8a16d28649d672d..9bae6f8dfa99432f2e1bf4563705bf9216ff05db 100644
--- a/nspr/pr/src/md/windows/w95io.c
+++ b/nspr/pr/src/md/windows/w95io.c
@@ -955,9 +955,10 @@ _PR_MD_LOCKFILE(PROsfd f)
0l, 0l,
0x0l, 0xffffffffl );
if ( rv == 0 ) {
- DWORD rc = GetLastError();
+ DWORD err = GetLastError();
+ _PR_MD_MAP_DEFAULT_ERROR(err);
PR_LOG( _pr_io_lm, PR_LOG_ERROR,
- ("_PR_MD_LOCKFILE() failed. Error: %d", rc ));
+ ("_PR_MD_LOCKFILE() failed. Error: %d", err ));
rc = PR_FAILURE;
}
« no previous file with comments | « nspr/pr/src/linking/prlink.c ('k') | nspr/pr/src/misc/prolock.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698