summary refs log tree commit diff
path: root/locale/programs/charmap-dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/charmap-dir.c')
-rw-r--r--locale/programs/charmap-dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c
index a7a453552b..935f662ff6 100644
--- a/locale/programs/charmap-dir.c
+++ b/locale/programs/charmap-dir.c
@@ -224,7 +224,7 @@ charmap_open (const char *directory, const char *name)
     *p++ = '/';
   p = stpcpy (p, name);
 
-  stream = fopen (pathname, "r");
+  stream = fopen (pathname, "rm");
   if (stream != NULL)
     return stream;