Fix markup on "\n" in printf so it renders correctly.
PR: 208852 Submitted by: coder@tuxfamily.org MFC after: 1 week
This commit is contained in:
parent
c445ffce22
commit
5a39901bc4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298156
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user