diff --git a/xpcom/io/nsLocalFileWin.cpp b/xpcom/io/nsLocalFileWin.cpp index 188746803487..ea1e1f795561 100644 --- a/xpcom/io/nsLocalFileWin.cpp +++ b/xpcom/io/nsLocalFileWin.cpp @@ -546,7 +546,7 @@ nsLocalFile::ResolveAndStat(PRBool resolveTerminal) if ( status == PR_SUCCESS ) mDirty = PR_FALSE; else - result = NS_ERROR_FAILURE; + result = NS_ERROR_FILE_NOT_FOUND; return result; }