about summary refs log tree commit diff
path: root/catgets
diff options
context:
space:
mode:
Diffstat (limited to 'catgets')
-rw-r--r--catgets/catgets.c2
-rw-r--r--catgets/gencat.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/catgets/catgets.c b/catgets/catgets.c
index 9228f970d6..4c6997e567 100644
--- a/catgets/catgets.c
+++ b/catgets/catgets.c
@@ -164,7 +164,7 @@ catclose (nl_catd catalog_desc)
   catalog = (__nl_catd) catalog_desc;
 
   if (catalog->status == mmapped)
-    munmap ((void *) catalog->file_ptr, catalog->file_size);
+    __munmap ((void *) catalog->file_ptr, catalog->file_size);
   else if (catalog->status == malloced)
     free ((void *) catalog->file_ptr);
   else if (catalog->status != closed && catalog->status != nonexisting)
diff --git a/catgets/gencat.c b/catgets/gencat.c
index bee101eb74..9ce962c3c9 100644
--- a/catgets/gencat.c
+++ b/catgets/gencat.c
@@ -332,7 +332,7 @@ read_input_file (struct catalog *current, const char *fname)
 	    /* This is a comment line.  Do nothing.  */;
 	  else if (strncmp (&this_line[1], "set", 3) == 0)
 	    {
-	      int cnt = sizeof ("cnt");
+	      int cnt = sizeof ("set");
 	      int set_number;
 	      const char *symbol = NULL;
 	      while (isspace (this_line[cnt]))