Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2024 14:27:00 GMT
From:      Mariusz Zaborski <oshogbo@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 0963af50e96d - main - perror: style nits
Message-ID:  <202411271427.4ARER0VT033439@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by oshogbo:

URL: https://cgit.FreeBSD.org/src/commit/?id=0963af50e96d9c8e93041e9faf281c895bb53dbe

commit 0963af50e96d9c8e93041e9faf281c895bb53dbe
Author:     Mariusz Zaborski <oshogbo@FreeBSD.org>
AuthorDate: 2024-11-27 14:22:55 +0000
Commit:     Mariusz Zaborski <oshogbo@FreeBSD.org>
CommitDate: 2024-11-27 14:26:51 +0000

    perror: style nits
---
 usr.bin/perror/perror.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/usr.bin/perror/perror.c b/usr.bin/perror/perror.c
index 6341928e9024..4ef77aefdd31 100644
--- a/usr.bin/perror/perror.c
+++ b/usr.bin/perror/perror.c
@@ -40,7 +40,7 @@
 
 static void usage(void) __dead2;
 
-int 
+int
 main(int argc, char **argv)
 {
 	char *cp;
@@ -63,7 +63,7 @@ main(int argc, char **argv)
 	if (errno != 0)
 		err(EXIT_FAILURE, NULL);
 
-	if ((errstr = strerror(errnum)) == NULL) 
+	if ((errstr = strerror(errnum)) == NULL)
 		err(EXIT_FAILURE, NULL);
 
 	printf("%s\n", errstr);
@@ -71,7 +71,7 @@ main(int argc, char **argv)
 	exit(EXIT_SUCCESS);
 }
 
-static void 
+static void
 usage(void)
 {
 	fprintf(stderr, "usage: perror number\n");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411271427.4ARER0VT033439>