about summary refs log tree commit diff
path: root/locale/loadarchive.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-16 00:08:47 +0000
committerRoland McGrath <roland@gnu.org>2002-08-16 00:08:47 +0000
commitc88b47593ad1ca29959ebb6dc76c738395ae8233 (patch)
tree0d6ebf3fab59b4ef0f835d1bfe96779125d7f479 /locale/loadarchive.c
parentfc77d66abf6ed97a50e30b619b1647759d43f593 (diff)
downloadglibc-c88b47593ad1ca29959ebb6dc76c738395ae8233.tar.gz
glibc-c88b47593ad1ca29959ebb6dc76c738395ae8233.tar.xz
glibc-c88b47593ad1ca29959ebb6dc76c738395ae8233.zip
2002-08-16 Jakub Jelinek <jakub@redhat.com>
        * locale/loadarchive.c (_nl_load_locale_from_archive): Braino fix
	in change before last: MAX -> MIN.
Diffstat (limited to 'locale/loadarchive.c')
-rw-r--r--locale/loadarchive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/loadarchive.c b/locale/loadarchive.c
index d71ec88e8c..c795971894 100644
--- a/locale/loadarchive.c
+++ b/locale/loadarchive.c
@@ -206,7 +206,7 @@ _nl_load_locale_from_archive (int category, const char **namep)
 	 just map the whole file and be sure everything is covered.  */
 
       mapsize = (sizeof (void *) > 4 ? archive_stat.st_size
-		 : MAX (archive_stat.st_size, ARCHIVE_MAPPING_WINDOW));
+		 : MIN (archive_stat.st_size, ARCHIVE_MAPPING_WINDOW));
 
       result = __mmap64 (NULL, mapsize, PROT_READ, MAP_SHARED, fd, 0);
       if (result == MAP_FAILED)