Chromium Code Reviews| Index: nspr/pr/src/pthreads/ptsynch.c |
| diff --git a/nspr/pr/src/pthreads/ptsynch.c b/nspr/pr/src/pthreads/ptsynch.c |
| index da1d6a850cd6c5b31041e8d7451adf78870c5cce..03c5720ea638e587295d05c305447968682554b4 100644 |
| --- a/nspr/pr/src/pthreads/ptsynch.c |
| +++ b/nspr/pr/src/pthreads/ptsynch.c |
| @@ -514,7 +514,7 @@ error2: |
| pthread_mutex_destroy(&mon->lock); |
| error1: |
| PR_Free(mon); |
| - PR_SetError(PR_OPERATION_NOT_SUPPORTED_ERROR, 0); |
| + _PR_MD_MAP_DEFAULT_ERROR(rv); |
| return NULL; |
| } /* PR_NewMonitor */ |