summaryrefslogtreecommitdiff
path: root/indra/llcommon/llfile.cpp
diff options
context:
space:
mode:
authorfmartian <FredMartian@gmail.com>2025-10-20 22:23:59 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-10-21 00:50:27 +0300
commitaa49a3d7e6da7b2b83d78759c65d21f9865ddea5 (patch)
treec4c8ea85a49cc9c9f7f75f588d407d73c4d5a3d3 /indra/llcommon/llfile.cpp
parentf58a7c767354705962788864274c7a60ed89544e (diff)
Fix typo in comment
Diffstat (limited to 'indra/llcommon/llfile.cpp')
-rw-r--r--indra/llcommon/llfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/llfile.cpp b/indra/llcommon/llfile.cpp
index 492c7c690b..a539e4fe28 100644
--- a/indra/llcommon/llfile.cpp
+++ b/indra/llcommon/llfile.cpp
@@ -422,7 +422,7 @@ int LLFile::remove(const std::string& filename, int suppress_error)
}
else
{
- // get_filattr() failed and already set errno, preserve it for correct error reporting
+ // get_fileattr() failed and already set errno, preserve it for correct error reporting
}
#else
int rc = ::remove(filename.c_str());
@@ -503,7 +503,7 @@ unsigned short LLFile::getattr(const std::string& filename, bool dontFollowSymLi
#if LL_WINDOWS
// _wstat64() is a bit heavyweight on Windows, use a more lightweight API
// to just get the attributes
- int rc = -1;
+ int rc = -1;
std::wstring utf16filename = utf8path_to_wstring(filename);
unsigned short st_mode = get_fileattr(utf16filename, dontFollowSymLink);
if (st_mode)