The branch main has been updated by khng:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=89c0d2b1906d166478949398a361edb22553c855

commit 89c0d2b1906d166478949398a361edb22553c855
Author:     Ka Ho Ng <[email protected]>
AuthorDate: 2021-08-18 15:45:20 +0000
Commit:     Ka Ho Ng <[email protected]>
CommitDate: 2021-08-18 15:45:59 +0000

    truncate(1): main() return statement style fix
    
    Sponsored by:   The FreeBSD Foundation
---
 usr.bin/truncate/truncate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/truncate/truncate.c b/usr.bin/truncate/truncate.c
index 0f6c14b15c16..a7579227f299 100644
--- a/usr.bin/truncate/truncate.c
+++ b/usr.bin/truncate/truncate.c
@@ -175,7 +175,7 @@ main(int argc, char **argv)
        if (fd != -1)
                close(fd);
 
-       return error ? EXIT_FAILURE : EXIT_SUCCESS;
+       return (error ? EXIT_FAILURE : EXIT_SUCCESS);
 }
 
 static void
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "[email protected]"

Reply via email to