diff options
Diffstat (limited to 'catgets')
-rw-r--r-- | catgets/catgets.c | 2 | ||||
-rw-r--r-- | catgets/gencat.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/catgets/catgets.c b/catgets/catgets.c index 9228f97..4c6997e 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 bee101e..9ce962c 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])) |