diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-05-22 08:32:23 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-05-22 08:32:23 +0300 |
commit | 9afc1cd5c0b1e56cdd8192aadb68104aae30ae89 (patch) | |
tree | c26f904a6bac8a66d8255d959889f381540808f2 /mtd_debug.c | |
parent | 180c09de57d8e254716c562bd0537df543d12577 (diff) | |
parent | a15b1a1409721c1d75c1ecaab90bdeca74c26fd4 (diff) |
Merge branch 'master' of git://git.infradead.org/mtd-utils
Diffstat (limited to 'mtd_debug.c')
-rw-r--r-- | mtd_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mtd_debug.c b/mtd_debug.c index 85d48e9..49a4567 100644 --- a/mtd_debug.c +++ b/mtd_debug.c @@ -110,7 +110,7 @@ int flash_to_file (int fd,u_int32_t offset,size_t len,const char *filename) perror ("lseek()"); goto err0; } - outfd = creat (filename,O_WRONLY); + outfd = creat (filename,0666); if (outfd < 0) { perror ("creat()"); |