diff options
Diffstat (limited to 'cmds-inspect-dump-super.c')
-rw-r--r-- | cmds-inspect-dump-super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-inspect-dump-super.c b/cmds-inspect-dump-super.c index 3e09ee8c..38e99ec1 100644 --- a/cmds-inspect-dump-super.c +++ b/cmds-inspect-dump-super.c @@ -511,7 +511,7 @@ int cmd_inspect_dump_super(int argc, char **argv) for (i = optind; i < argc; i++) { filename = argv[i]; - fd = open(filename, O_RDONLY, 0666); + fd = open(filename, O_RDONLY); if (fd < 0) { error("cannot open %s: %s", filename, strerror(errno)); ret = 1; |