summaryrefslogtreecommitdiff
path: root/Userland/Utilities/date.cpp
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-01-20 12:27:56 -0500
committerLinus Groh <mail@linusgroh.de>2022-01-23 12:48:26 +0000
commitbcf4ec9c6152094a0a2abee37f4c6c92062998ba (patch)
tree55181d6346102ff902919bb2443c59081f2d6a7f /Userland/Utilities/date.cpp
parentda27937144f1d23bbca39c4e2f7a7bc1484b2dc1 (diff)
downloadserenity-bcf4ec9c6152094a0a2abee37f4c6c92062998ba.zip
Userland: Add promises to programs that will read /etc/timezone
This will require unveiling /etc/timezone itself for reading, as well as the rpath pledge promise.
Diffstat (limited to 'Userland/Utilities/date.cpp')
-rw-r--r--Userland/Utilities/date.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/date.cpp b/Userland/Utilities/date.cpp
index 1298a9ed76..12d6bae420 100644
--- a/Userland/Utilities/date.cpp
+++ b/Userland/Utilities/date.cpp
@@ -13,7 +13,7 @@
ErrorOr<int> serenity_main(Main::Arguments arguments)
{
- TRY(Core::System::pledge("stdio settime", nullptr));
+ TRY(Core::System::pledge("stdio settime rpath", nullptr));
bool print_unix_date = false;
bool print_iso_8601 = false;