diff options
author | wblock <wblock@FreeBSD.org> | 2016-04-24 03:15:10 +0000 |
---|---|---|
committer | wblock <wblock@FreeBSD.org> | 2016-04-24 03:15:10 +0000 |
commit | e208d209fea45c78193bcf8fe8f0b6e802e8d892 (patch) | |
tree | abed7d614f9ae8de38b3e3f8e7dcbc57ad6566d3 /lib/libc/stdlib | |
parent | 45c43e5430044737ff3b728d409ebacdc269191c (diff) | |
download | FreeBSD-src-e208d209fea45c78193bcf8fe8f0b6e802e8d892.zip FreeBSD-src-e208d209fea45c78193bcf8fe8f0b6e802e8d892.tar.gz |
MFC r298156:
Fix markup on "\n" in printf so it renders correctly.
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r-- | lib/libc/stdlib/lsearch.3 | 8 |
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); } |