summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-09-20 00:11:37 +0000
committerJakub Jelinek <jakub@redhat.com>2007-09-20 00:11:37 +0000
commit62beba6902f315a14113c26ed3e068342e101399 (patch)
treee45d44d1e6f5856a91a1fc98d5f635c82322a183 /locale
parent7913ba4d91b848ec4e5698c59d43198a3ef9215d (diff)
Updated to fedora-glibc-20070920T0007cvs/fedora-glibc-2_6_90-15
Diffstat (limited to 'locale')
-rw-r--r--locale/programs/charmap-dir.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c
index e192eddde3..776f01e78b 100644
--- a/locale/programs/charmap-dir.c
+++ b/locale/programs/charmap-dir.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000, 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2001, 2002, 2003, 2005, 2007
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
This program is free software; you can redistribute it and/or modify
@@ -264,8 +265,8 @@ charmap_aliases (const char *directory, const char *name)
char *alias = NULL;
char junk[BUFSIZ];
- if (fscanf (stream, " <code_set_name> %as", &alias) == 1
- || fscanf (stream, "%% alias %as", &alias) == 1)
+ if (fscanf (stream, " <code_set_name> %ms", &alias) == 1
+ || fscanf (stream, "%% alias %ms", &alias) == 1)
{
aliases = (char **) xrealloc (aliases,
(naliases + 2) * sizeof (char *));