X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/97d63645377eae3e2ca246a440f593f04018c0e4..e12cd3d5ae4c09dbf49d20c29cff8f2183946c73:/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) {