Author: wblock (doc committer)
Date: Sun Apr 24 03:15:10 2016
New Revision: 298529
URL: https://svnweb.freebsd.org/changeset/base/298529

Log:
  MFC r298156:
  
  Fix markup on "\n" in printf so it renders correctly.

Modified:
  stable/10/lib/libc/stdlib/lsearch.3
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libc/stdlib/lsearch.3
==============================================================================
--- stable/10/lib/libc/stdlib/lsearch.3 Sun Apr 24 03:13:02 2016        
(r298528)
+++ stable/10/lib/libc/stdlib/lsearch.3 Sun Apr 24 03:15:10 2016        
(r298529)
@@ -8,7 +8,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd April 21, 2013
+.Dd April 17, 2016
 .Dt LSEARCH 3
 .Os
 .Sh NAME
@@ -107,7 +107,7 @@ main(int argc, char **argv)
 
        printf("Enter a number: ");
        if (scanf("%d", &key) != 1) {
-               printf("Bad input\n");
+               printf("Bad input\en");
                return (EXIT_FAILURE);
        }
 
@@ -115,9 +115,9 @@ main(int argc, char **argv)
            element_compare);
 
        if (element != NULL)
-               printf("Element found: %d\n", *(int *)element);
+               printf("Element found: %d\en", *(int *)element);
        else
-               printf("Element not found\n");
+               printf("Element not found\en");
 
        return (EXIT_SUCCESS);
 }
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "[email protected]"

Reply via email to