artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36c797f
)
correct precedence; from Ilya Kaliman
author
deraadt
<deraadt@openbsd.org>
Fri, 23 Oct 2015 01:00:16 +0000
(
01:00
+0000)
committer
deraadt
<deraadt@openbsd.org>
Fri, 23 Oct 2015 01:00:16 +0000
(
01:00
+0000)
bin/mkdir/mkdir.c
patch
|
blob
|
history
diff --git
a/bin/mkdir/mkdir.c
b/bin/mkdir/mkdir.c
index
9ebf6b4
..
1943882
100644
(file)
--- a/
bin/mkdir/mkdir.c
+++ b/
bin/mkdir/mkdir.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: mkdir.c,v 1.2
8 2015/10/10 20:18:30
deraadt Exp $ */
+/* $OpenBSD: mkdir.c,v 1.2
9 2015/10/23 01:00:16
deraadt Exp $ */
/* $NetBSD: mkdir.c,v 1.14 1995/06/25 21:59:21 mycroft Exp $ */
/*
@@
-82,7
+82,7
@@
main(int argc, char *argv[])
argc -= optind;
argv += optind;
- if (
mode & (S_ISUID | S_ISGID | S_ISTXT
) == 0) {
+ if (
(mode & (S_ISUID | S_ISGID | S_ISTXT)
) == 0) {
if (pledge("stdio rpath cpath fattr", NULL) == -1)
err(1, "pledge");
}