aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu.c b/dmenu.c
index 3b2f3ec..5c835dd 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -750,7 +750,7 @@ main(int argc, char *argv[])
750 lrpad = drw->fonts->h; 750 lrpad = drw->fonts->h;
751 751
752#ifdef __OpenBSD__ 752#ifdef __OpenBSD__
753 if (pledge("stdio rpath", NULL) < 0) 753 if (pledge("stdio rpath", NULL) == -1)
754 die("pledge"); 754 die("pledge");
755#endif 755#endif
756 756