X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/97d63645377eae3e2ca246a440f593f04018c0e4..064b7710ffd7c9db3413fa188d3827ee523c28ed:/tools/firmware-utils/src/airlink.c?ds=sidebyside diff --git a/tools/firmware-utils/src/airlink.c b/tools/firmware-utils/src/airlink.c index 63bd51835..560a58df5 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) {