summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cli/cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/cli.c b/src/cli/cli.c
index 1de0e54..8e3ad78 100644
--- a/src/cli/cli.c
+++ b/src/cli/cli.c
@@ -414,7 +414,7 @@ int main(int argc, char** argv)
case OPT_INFO:
{
/* Load crash_data from dump dir */
- struct dump_dir *dd = dd_opendir(dump_dir_name, /*flags:*/ 0);
+ struct dump_dir *dd = dd_opendir(dump_dir_name, DD_OPEN_READONLY);
if (!dd)
return -1;
@@ -437,7 +437,7 @@ int main(int argc, char** argv)
return 1;
/* Reload crash_data from (possibly updated by analyze) dump dir */
- dd = dd_opendir(dump_dir_name, /*flags:*/ 0);
+ dd = dd_opendir(dump_dir_name, DD_OPEN_READONLY);
if (!dd)
return -1;
} else