about summary refs log tree commit diff
path: root/locale/programs/locarchive.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/locarchive.c')
-rw-r--r--locale/programs/locarchive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c
index 2bfb0cd5d8..c7aa5b06ac 100644
--- a/locale/programs/locarchive.c
+++ b/locale/programs/locarchive.c
@@ -971,7 +971,7 @@ add_locale_to_archive (ah, name, data, replace)
   if (alias_file != NULL)
     {
       FILE *fp;
-      fp = fopen (alias_file, "r");
+      fp = fopen (alias_file, "rm");
       if (fp == NULL)
 	error (1, errno, _("locale alias file `%s' not found"),
 	       alias_file);