From 550bf2d212025ce5c529786036a4f4ced2b6c342 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Mon, 15 Dec 2025 13:45:07 -0600 Subject: [PATCH] fuse.cpp --- libfuse/lib/fuse.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libfuse/lib/fuse.cpp b/libfuse/lib/fuse.cpp index 416776f6..5f22b8e7 100644 --- a/libfuse/lib/fuse.cpp +++ b/libfuse/lib/fuse.cpp @@ -1480,8 +1480,9 @@ fuse_lib_getattr(fuse_req_t *req_, if(!err) { + fmt::print("getattr: fh={}; fusepath={};\n", - fh,fusepath); + fh,fusepath ? fusepath : "(null)"); err = ((fusepath != NULL) ? f.ops.getattr(&req_->ctx,&fusepath[1],&buf,&timeout) : f.ops.fgetattr(&req_->ctx,fh,&buf,&timeout));