This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix typo in strcoll example


---

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]