summary refs log tree commit diff
path: root/catgets/catgets.c
diff options
context:
space:
mode:
Diffstat (limited to 'catgets/catgets.c')
-rw-r--r--catgets/catgets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/catgets/catgets.c b/catgets/catgets.c
index ab7d28a682..b8e5bf0750 100644
--- a/catgets/catgets.c
+++ b/catgets/catgets.c
@@ -154,7 +154,7 @@ catclose (nl_catd catalog_desc)
 
   catalog = (__nl_catd) catalog_desc;
 
-  if (catalog->status == mmaped)
+  if (catalog->status == mmapped)
     munmap ((void *) catalog->file_ptr, catalog->file_size);
   else if (catalog->status == malloced)
     free ((void *) catalog->file_ptr);