Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2017 17:27:16 +0000 (UTC)
From:      Brad Davis <brd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320993 - head/lib/libc/stdlib
Message-ID:  <201707141727.v6EHRGU3085913@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707141727.v6EHRGU3085913>