diff --git a/Userland/date.cpp b/Userland/date.cpp index aec24f4ee3..6aef649116 100644 --- a/Userland/date.cpp +++ b/Userland/date.cpp @@ -32,6 +32,11 @@ int main(int argc, char** argv) { + if (pledge("stdio", nullptr) < 0) { + perror("pledge"); + return 1; + } + time_t now = time(nullptr); if (argc == 2 && !strcmp(argv[1], "-u")) {