summaryrefslogtreecommitdiffstats
path: root/util/system/protect.cpp
diff options
context:
space:
mode:
authordanlark <[email protected]>2022-02-10 16:46:10 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:10 +0300
commitbaa58daefa91fde4b4769facdbd2903763b9c6a8 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/system/protect.cpp
parent3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/protect.cpp')
-rw-r--r--util/system/protect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/system/protect.cpp b/util/system/protect.cpp
index 20a4ba5a086..bbb8d410dfb 100644
--- a/util/system/protect.cpp
+++ b/util/system/protect.cpp
@@ -29,7 +29,7 @@ static TString ModeToString(const EProtectMemory mode) {
if (mode & PM_EXEC) {
strMode += "PM_EXEC|";
}
- return strMode.substr(0, strMode.size() - 1);
+ return strMode.substr(0, strMode.size() - 1);
}
void ProtectMemory(void* addr, const size_t length, const EProtectMemory mode) {