aboutsummaryrefslogtreecommitdiff
path: root/tests/sys
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2019-08-15 04:47:42 +0000
committerAlan Somers <asomers@FreeBSD.org>2019-08-15 04:47:42 +0000
commit38a3e0bd6b94f543eed4985b43ecb5598558b173 (patch)
treed7c9754050f92baf686ad6d40a71dc508d7dc7f7 /tests/sys
parent141a0ab012e2fd880e2e2fd310cdc49bc5c18874 (diff)
downloadsrc-38a3e0bd6b94f543eed4985b43ecb5598558b173.tar.gz
src-38a3e0bd6b94f543eed4985b43ecb5598558b173.zip
fusefs: fix conditional from r351061
The entirety of r351061 was a copy/paste error. I'm sorry I've been comitting so hastily. Reported by: rpokala Reviewed by: rpokala MFC after: 2 weeks MFC-With: 351061 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21265
Notes
Notes: svn path=/head/; revision=351066
Diffstat (limited to 'tests/sys')
-rw-r--r--tests/sys/fs/fusefs/mockfs.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/sys/fs/fusefs/mockfs.cc b/tests/sys/fs/fusefs/mockfs.cc
index 2b426a61ffc2..c8fd601397ff 100644
--- a/tests/sys/fs/fusefs/mockfs.cc
+++ b/tests/sys/fs/fusefs/mockfs.cc
@@ -842,8 +842,7 @@ void MockFS::read_request(mockfs_buf_in &in) {
* request,including header, even though fuse_out_header.len excludes
* the size of the header.
*/
- ASSERT_TRUE(res == static_cast<ssize_t>(sizeof(in.header.len)) ||
- m_quit);
+ ASSERT_TRUE(res == static_cast<ssize_t>(in.header.len) || m_quit);
}
void MockFS::write_response(const mockfs_buf_out &out) {