[tools] fix file creation mode, thanks rtz
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 18 Mar 2010 23:35:12 +0000 (23:35 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 18 Mar 2010 23:35:12 +0000 (23:35 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20293 3c298f89-4303-0410-b956-a3cf2f4a3e73

tools/firmware-utils/src/airlink.c

index 63bd518..560a58d 100644 (file)
@@ -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) {
This page took 0.020134 seconds and 4 git commands to generate.