This website works better with JavaScript.
Home
Explore
Help
Sign In
rinri
/
dmenu-rinri
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
code-style for pledge: check the return code -1, not < 0
this is the proper idiom
master
Hiltjo Posthuma
6 years ago
parent
05c138f5b8
commit
851b73d178
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
dmenu.c
+ 1
- 1
dmenu.c
View File
@@ -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
Write
Preview
Loading…
Cancel
Save