aboutsummaryrefslogtreecommitdiff
path: root/bin/echo
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2020-10-29 14:44:09 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2020-10-29 14:44:09 +0000
commita249b285b717ac6116d4d599fda92ce186509e46 (patch)
treed96e9bb38c1f174950adea1c6e46774d97d2b809 /bin/echo
parentb60b81e64360a11905f626c95e5e178a3e9e8a4d (diff)
downloadsrc-a249b285b717ac6116d4d599fda92ce186509e46.tar.gz
src-a249b285b717ac6116d4d599fda92ce186509e46.zip
Whitespace cleanup
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=367136
Diffstat (limited to 'bin/echo')
-rw-r--r--bin/echo/echo.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/bin/echo/echo.c b/bin/echo/echo.c
index b663003bdcca..f56bd5b976d8 100644
--- a/bin/echo/echo.c
+++ b/bin/echo/echo.c
@@ -71,7 +71,7 @@ errexit(const char *prog, const char *reason)
write(STDERR_FILENO, "\n", 1);
exit(1);
}
-
+
int
main(int argc, char *argv[])
{
@@ -100,13 +100,12 @@ main(int argc, char *argv[])
while (argv[0] != NULL) {
size_t len;
-
+
len = strlen(argv[0]);
/*
- * If the next argument is NULL then this is
- * the last argument, therefore we need to check
- * for a trailing \c.
+ * If the next argument is NULL then this is the last argument,
+ * therefore we need to check for a trailing \c.
*/
if (argv[1] == NULL) {
/* is there room for a '\c' and is there one? */