Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2023 03:23:38 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 6ca462ee004d - stable/13 - posixshm_test: small style fixes
Message-ID:  <202301200323.30K3Ncnm042423@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=6ca462ee004d13422be4827c5e596dfbea3d3b86

commit 6ca462ee004d13422be4827c5e596dfbea3d3b86
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-12-03 22:54:13 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-01-20 03:20:17 +0000

    posixshm_test: small style fixes
    
    Tested by:      pho
    
    (cherry picked from commit f1f030246f3e72af0ee3ba82a0e8b9f6d9559b69)
---
 tests/sys/posixshm/posixshm_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/sys/posixshm/posixshm_test.c b/tests/sys/posixshm/posixshm_test.c
index 6329f0eb4f7d..06624de7c13c 100644
--- a/tests/sys/posixshm/posixshm_test.c
+++ b/tests/sys/posixshm/posixshm_test.c
@@ -953,7 +953,7 @@ ATF_TC_BODY(fallocate, tc)
 	ATF_REQUIRE_MSG((error = posix_fallocate(fd, sz, sz)) == 0,
 	    "posix_fallocate failed; error=%d", error);
 	ATF_REQUIRE(fstat(fd, &st) == 0);
-	ATF_REQUIRE(st.st_size == (sz * 2));
+	ATF_REQUIRE(st.st_size == sz * 2);
 
 	close(fd);
 }



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