Skip to content

Commit aa49a3d

Browse files
fmartianakleshchev
authored andcommitted
Fix typo in comment
1 parent f58a7c7 commit aa49a3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

indra/llcommon/llfile.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ int LLFile::remove(const std::string& filename, int suppress_error)
422422
}
423423
else
424424
{
425-
// get_filattr() failed and already set errno, preserve it for correct error reporting
425+
// get_fileattr() failed and already set errno, preserve it for correct error reporting
426426
}
427427
#else
428428
int rc = ::remove(filename.c_str());
@@ -503,7 +503,7 @@ unsigned short LLFile::getattr(const std::string& filename, bool dontFollowSymLi
503503
#if LL_WINDOWS
504504
// _wstat64() is a bit heavyweight on Windows, use a more lightweight API
505505
// to just get the attributes
506-
int rc = -1;
506+
int rc = -1;
507507
std::wstring utf16filename = utf8path_to_wstring(filename);
508508
unsigned short st_mode = get_fileattr(utf16filename, dontFollowSymLink);
509509
if (st_mode)

0 commit comments

Comments
 (0)