Signed-off-by: Fotis Xenakis <[email protected]>
---
 fs/pseudofs/pseudofs.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/pseudofs/pseudofs.cc b/fs/pseudofs/pseudofs.cc
index 4d37dc66..b721d950 100644
--- a/fs/pseudofs/pseudofs.cc
+++ b/fs/pseudofs/pseudofs.cc
@@ -97,7 +97,7 @@ int lookup(vnode *dvp, char *name, vnode **vpp) {
 
     *vpp = nullptr;
 
-    if (!*name || !parent) {
+    if (!name || !parent) {
         return ENOENT;
     }
     auto node = parent->lookup(name);
-- 
2.25.2

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/AM6PR03MB4375DCAF04704FB3E1DCDCFAA6F00%40AM6PR03MB4375.eurprd03.prod.outlook.com.

Reply via email to