diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2022-12-03 22:54:13 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2023-01-20 03:20:17 +0000 |
commit | 6ca462ee004d13422be4827c5e596dfbea3d3b86 (patch) | |
tree | 86e2ba8d07dfaa0364ed39f98ab438d6b778b3c0 | |
parent | 376418fcbd4e933f7dc3fbc687a2814699fbb7cf (diff) | |
download | src-6ca462ee004d13422be4827c5e596dfbea3d3b86.tar.gz src-6ca462ee004d13422be4827c5e596dfbea3d3b86.zip |
posixshm_test: small style fixes
Tested by: pho
(cherry picked from commit f1f030246f3e72af0ee3ba82a0e8b9f6d9559b69)
-rw-r--r-- | tests/sys/posixshm/posixshm_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |