svn commit: r367266 - stable/11/bin/echo
Li-Wen Hsu
lwhsu at FreeBSD.org
Mon Nov 2 01:34:59 UTC 2020
Author: lwhsu
Date: Mon Nov 2 01:34:58 2020
New Revision: 367266
URL: https://svnweb.freebsd.org/changeset/base/367266
Log:
MFC r367136:
Whitespace cleanup
Modified:
stable/11/bin/echo/echo.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/bin/echo/echo.c
==============================================================================
--- stable/11/bin/echo/echo.c Mon Nov 2 01:34:43 2020 (r367265)
+++ stable/11/bin/echo/echo.c Mon Nov 2 01:34:58 2020 (r367266)
@@ -69,7 +69,7 @@ errexit(const char *prog, const char *reason)
write(STDERR_FILENO, "\n", 1);
exit(1);
}
-
+
int
main(int argc, char *argv[])
{
@@ -98,13 +98,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? */
More information about the svn-src-stable
mailing list