projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tools/mktplinkfw: allow to specify hw_id, hw_rev and flash_layout
[openwrt.git]
/
tools
/
firmware-utils
/
src
/
airlink.c
diff --git
a/tools/firmware-utils/src/airlink.c
b/tools/firmware-utils/src/airlink.c
index
63bd518
..
560a58d
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);
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) {
if ((fkd < 0) || (ffd < 0))
return -1;
if (fsname) {
This page took
0.029486 seconds
and
4
git commands to generate.