projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
029b3f6
)
fix file creation mode, thanks rtz
author
Florian Fainelli
<florian@openwrt.org>
Thu, 18 Mar 2010 23:35:12 +0000
(23:35 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Thu, 18 Mar 2010 23:35:12 +0000
(23:35 +0000)
SVN-Revision: 20293
tools/firmware-utils/src/airlink.c
patch
|
blob
|
history
diff --git
a/tools/firmware-utils/src/airlink.c
b/tools/firmware-utils/src/airlink.c
index 63bd51835b871b7339a2f17472944d68eeada38a..560a58df59ef5f95268faed783d0925443da053f 100644
(file)
--- a/
tools/firmware-utils/src/airlink.c
+++ b/
tools/firmware-utils/src/airlink.c
@@
-110,7
+110,7
@@
int generate_image(char *kname, char *fsname, char *fname, int EHDR)
uchar *bk, *bs;
int fkd, ffd, fsd;
fkd = open(kname, O_RDONLY);
- ffd = creat(fname, 0
x
644);
+ ffd = creat(fname, 0644);
if ((fkd < 0) || (ffd < 0))
return -1;
if (fsname) {