summaryrefslogtreecommitdiff
path: root/dmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'dmenu.c')
-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[])
lrpad = drw->fonts->h;
#ifdef __OpenBSD__
- if (pledge("stdio rpath", NULL) < 0)
+ if (pledge("stdio rpath", NULL) == -1)
die("pledge");
#endif