summaryrefslogtreecommitdiff
path: root/catgets
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-11-19 23:00:23 +0000
committerUlrich Drepper <drepper@redhat.com>1997-11-19 23:00:23 +0000
commit6db91a64193eaf383cd5daa6b35ca0f56cbab65f (patch)
tree274cb202eb9359f5e1a66ef138635f29aad58bf3 /catgets
parentba664d7a58792de3fadf2ad2d20b0dac1c416ae6 (diff)
Update from 2.1 version.
Diffstat (limited to 'catgets')
-rw-r--r--catgets/catgets.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/catgets/catgets.c b/catgets/catgets.c
index 824d39eace..f0491d1374 100644
--- a/catgets/catgets.c
+++ b/catgets/catgets.c
@@ -94,8 +94,9 @@ catopen (const char *cat_name, int flag)
nlspath = tmp;
}
else
- result->nlspath = __strdup (NLSPATH);
+ nlspath = NLSPATH;
+ result->nlspath = __strdup (nlspath);
if (result->nlspath == NULL)
{
free ((void *) result->cat_name);