projects
/
openwrt
/
staging
/
ldir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
448f469
)
iwcap: fix reversed umask
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 27 Feb 2012 23:08:15 +0000
(23:08 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 27 Feb 2012 23:08:15 +0000
(23:08 +0000)
SVN-Revision: 30748
package/iwcap/src/iwcap.c
patch
|
blob
|
history
diff --git
a/package/iwcap/src/iwcap.c
b/package/iwcap/src/iwcap.c
index 3a8e7404daba08499d3a27aacba38802b940b68f..a71dca23206b668ad1b88017e3ee031f3d3adbcd 100644
(file)
--- a/
package/iwcap/src/iwcap.c
+++ b/
package/iwcap/src/iwcap.c
@@
-1,5
+1,5
@@
/*
- * iwcap.c - A simply radiotap capture utility outputting pcap
sig_
dumps
+ * iwcap.c - A simply radiotap capture utility outputting pcap dumps
*
* Copyright 2012 Jo-Philipp Wich <jow@openwrt.org>
*
@@
-443,7
+443,7
@@
int main(int argc, char **argv)
return 8;
case 0:
- umask(0
700
);
+ umask(0
077
);
chdir("/");
freopen("/dev/null", "r", stdin);
freopen("/dev/null", "w", stdout);