diff --git a/commands/mem.c b/commands/mem.c index 73bf915..8df5f0a 100644 --- a/commands/mem.c +++ b/commands/mem.c @@ -418,7 +418,7 @@ char *sourcefile = DEVMEM; char *destfile = DEVMEM; int sourcefd, destfd; - int mode = O_RWSIZE_1; + int mode = 0; struct stat statbuf; int ret = 0;