summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-04-25 09:24:04 -0300
committerRenato Botelho <renato@netgate.com>2016-04-25 09:24:04 -0300
commitd3c47eaa9d2ca52cf936c0801b144ff5a228ad56 (patch)
tree264c7f84714038dc366de9298876def5ec56bbc3 /lib/libc/stdlib
parentea9ba1a51b165fe4540662a900bb800f501bdf74 (diff)
parentdce9e3914e6275f657335fa04e3ccf117d07edda (diff)
downloadFreeBSD-src-d3c47eaa9d2ca52cf936c0801b144ff5a228ad56.zip
FreeBSD-src-d3c47eaa9d2ca52cf936c0801b144ff5a228ad56.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/lsearch.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdlib/lsearch.3 b/lib/libc/stdlib/lsearch.3
index 2a1a731..f2f0105 100644
--- a/lib/libc/stdlib/lsearch.3
+++ b/lib/libc/stdlib/lsearch.3
@@ -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);
}
OpenPOWER on IntegriCloud