From c689b9f5f144eb53acbea56b83af1e99274d48e4 Mon Sep 17 00:00:00 2001 From: Pawel Dziepak Date: Tue, 19 Mar 2013 00:39:24 +0100 Subject: [PATCH] nfs4: Fix CID 990984 and 991173: missing assignment in error check --- src/add-ons/kernel/file_systems/nfs4/InodeDir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/file_systems/nfs4/InodeDir.cpp b/src/add-ons/kernel/file_systems/nfs4/InodeDir.cpp index 1b3851704c..0ea69d0685 100644 --- a/src/add-ons/kernel/file_systems/nfs4/InodeDir.cpp +++ b/src/add-ons/kernel/file_systems/nfs4/InodeDir.cpp @@ -181,7 +181,7 @@ Inode::ReadDirUp(struct dirent* de, uint32 pos, uint32 size) if (fFileSystem->IsAttrSupported(FATTR4_FILEID)) { AttrValue* values; uint32 count; - reply.GetAttr(&values, &count); + result = reply.GetAttr(&values, &count); if (result != B_OK) return result;