summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorHüseyin ASLITÜRK <asliturk@hotmail.com>2020-04-26 22:16:37 +0300
committerAndreas Kling <kling@serenityos.org>2020-04-26 21:31:41 +0200
commit089022e7f6dbc38583be3321a7a20de1f4999a12 (patch)
tree44d7134e5cb6bad5fddeed904bd4f3bf50068cb3 /Applications
parent59f87d12d03c6794eb3101d1755d697bbbe35c8f (diff)
downloadserenity-089022e7f6dbc38583be3321a7a20de1f4999a12.zip
Applications: Add "thread" for HexEditor
HexEditor crashes during try OpenFile dialog.
Diffstat (limited to 'Applications')
-rw-r--r--Applications/HexEditor/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/HexEditor/main.cpp b/Applications/HexEditor/main.cpp
index f20ade72e5..7ef6b76ea0 100644
--- a/Applications/HexEditor/main.cpp
+++ b/Applications/HexEditor/main.cpp
@@ -30,14 +30,14 @@
int main(int argc, char** argv)
{
- if (pledge("stdio shared_buffer accept rpath unix cpath wpath fattr", nullptr) < 0) {
+ if (pledge("stdio shared_buffer accept rpath unix cpath wpath fattr thread", nullptr) < 0) {
perror("pledge");
return 1;
}
GUI::Application app(argc, argv);
- if (pledge("stdio shared_buffer accept rpath cpath wpath", nullptr) < 0) {
+ if (pledge("stdio shared_buffer accept rpath cpath wpath thread", nullptr) < 0) {
perror("pledge");
return 1;
}