[PATCH] Fix typo in strcoll example

Allan McRae allan@archlinux.org
Sun Sep 8 08:49:00 GMT 2013


---

Obvious change.  Just checking that the "Reported by" bit of the
ChangeLog entry is how we handle this.

2013-09-08  Allan McRae  <allan@archlinux.org>

	[BZ #15939]
	* manual/string.texi: Fix typo in strcoll example.
	Reported by Suren Karapetyan <me@suren.karapetyan.name>


 manual/string.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/manual/string.texi b/manual/string.texi
index 2a164a9..3329761 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -1370,7 +1370,7 @@ int
 compare_elements (const void *v1, const void *v2)
 @{
   char * const *p1 = v1;
-  char * const *p1 = v2;
+  char * const *p2 = v2;
 
   return strcoll (*p1, *p2);
 @}
-- 
1.8.4



More information about the Libc-alpha mailing list