X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/97d63645377eae3e2ca246a440f593f04018c0e4..9f5f35abdaa8bab4a6ae424413bbd9e9e64a3c41:/tools/firmware-utils/src/airlink.c?ds=inline 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) {