diff --git a/tools/emile-map-set.c b/tools/emile-map-set.c index 92d9770..41d22e0 100644 --- a/tools/emile-map-set.c +++ b/tools/emile-map-set.c @@ -370,6 +370,7 @@ int main(int argc, char** argv) case ARG_FLAGS: action |= ACTION_FLAGS; flags = strtol(optarg, NULL, 0); + open_flags = O_RDWR; break; case ARG_TYPE: action |= ACTION_TYPE;