diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-03-18 23:35:12 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-03-18 23:35:12 +0000 |
commit | 66dc3ee0c9a8eae18cd7baf13add8fe73ea217d6 (patch) | |
tree | 1f1d070549c51d8560afea1110179554c60f4c83 /tools/firmware-utils | |
parent | 029b3f62abdb91be88277f6f1bbfd6ae48cb6491 (diff) | |
download | mtk-20170518-66dc3ee0c9a8eae18cd7baf13add8fe73ea217d6.zip mtk-20170518-66dc3ee0c9a8eae18cd7baf13add8fe73ea217d6.tar.gz mtk-20170518-66dc3ee0c9a8eae18cd7baf13add8fe73ea217d6.tar.bz2 |
fix file creation mode, thanks rtz
SVN-Revision: 20293
Diffstat (limited to 'tools/firmware-utils')
-rw-r--r-- | tools/firmware-utils/src/airlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/airlink.c b/tools/firmware-utils/src/airlink.c index 63bd518..560a58d 100644 --- 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, 0x644); + ffd = creat(fname, 0644); if ((fkd < 0) || (ffd < 0)) return -1; if (fsname) { |