svn commit: r286523 - projects/collation/lib/libc/locale

Baptiste Daroussin bapt at FreeBSD.org
Sun Aug 9 12:20:23 UTC 2015


Author: bapt
Date: Sun Aug  9 12:20:22 2015
New Revision: 286523
URL: https://svnweb.freebsd.org/changeset/base/286523

Log:
  Fix typo

Modified:
  projects/collation/lib/libc/locale/collate.c

Modified: projects/collation/lib/libc/locale/collate.c
==============================================================================
--- projects/collation/lib/libc/locale/collate.c	Sun Aug  9 12:13:30 2015	(r286522)
+++ projects/collation/lib/libc/locale/collate.c	Sun Aug  9 12:20:22 2015	(r286523)
@@ -120,7 +120,7 @@ __collate_load_tables_l(const char *enco
 		return (_LDP_CACHE);
 	}
 
-	asnprintf(&buf, "%s/%s/LC_COLLATE", _PathLocale, encoding);
+	asprintf(&buf, "%s/%s/LC_COLLATE", _PathLocale, encoding);
 	if (buf == NULL)
 		return (_LDP_ERROR);
 


More information about the svn-src-projects mailing list