diff options
Diffstat (limited to 'shlibs/mount/src/tab_update.c')
-rw-r--r-- | shlibs/mount/src/tab_update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shlibs/mount/src/tab_update.c b/shlibs/mount/src/tab_update.c index a0f99f1fb..6b7b4beff 100644 --- a/shlibs/mount/src/tab_update.c +++ b/shlibs/mount/src/tab_update.c @@ -561,7 +561,7 @@ static int update_table(struct libmnt_update *upd, struct libmnt_table *tb) DBG(UPDATE, mnt_debug_h(upd, "%s: updating", upd->filename)); - fd = mnt_open_uniq_filename(upd->filename, &uq, O_WRONLY); + fd = mnt_open_uniq_filename(upd->filename, &uq); if (fd < 0) return fd; /* error */ |