summaryrefslogtreecommitdiffstats
path: root/tools/h5copy/h5copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5copy/h5copy.c')
-rw-r--r--tools/h5copy/h5copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5copy/h5copy.c b/tools/h5copy/h5copy.c
index 216b2bb..a4d1675 100644
--- a/tools/h5copy/h5copy.c
+++ b/tools/h5copy/h5copy.c
@@ -170,7 +170,7 @@ static int parse_flag(const char* str_flag, unsigned *flag)
return -1;
}
- *flag = fla;
+ *flag = (*flag) | fla;
return 0;
}