svn commit: r320993 - head/lib/libc/stdlib

Brad Davis brd at FreeBSD.org
Fri Jul 14 17:27:17 UTC 2017


Author: brd (doc,ports committer)
Date: Fri Jul 14 17:27:15 2017
New Revision: 320993
URL: https://svnweb.freebsd.org/changeset/base/320993

Log:
  Follow up to r320992, properly escape the backslash so it renders properly.
  
  MFC after:	1 week
  Forgotten by:	brd
  X-MFC-With:	r320992

Modified:
  head/lib/libc/stdlib/tsearch.3

Modified: head/lib/libc/stdlib/tsearch.3
==============================================================================
--- head/lib/libc/stdlib/tsearch.3	Fri Jul 14 17:07:28 2017	(r320992)
+++ head/lib/libc/stdlib/tsearch.3	Fri Jul 14 17:27:15 2017	(r320993)
@@ -162,7 +162,7 @@ printwalk(const posix_tnode * node, VISIT v, int __unu
 {
 
 	if (v == postorder || v == leaf) {
-		printf("node: %s\n\\", *(char **)node);
+		printf("node: %s\en", *(char **)node);
 	}
 }
 
@@ -181,7 +181,7 @@ main(void)
 	tsearch(three, &root, comp);
 	tsearch(four, &root, comp);
 	tsearch(four, &root, comp);
-	printf("four: %s\n", *(char **)tfind(four, &root, comp));
+	printf("four: %s\en", *(char **)tfind(four, &root, comp));
 	tdelete(four, &root, comp);
 
 	twalk(root, printwalk);


More information about the svn-src-head mailing list