This commit is contained in:
Antonio SJ Musumeci 2025-12-15 13:41:31 -06:00
parent 7e4a0e1865
commit 43af074c16

View file

@ -1480,8 +1480,8 @@ fuse_lib_getattr(fuse_req_t *req_,
if(!err)
{
fmt::println("getattr: fh={}; fusepath={};",
fh,fusepath);
fprintf(stderr,"getattr: fh=%zu; fusepath=%s;",
fh,fusepath);
err = ((fusepath != NULL) ?
f.ops.getattr(&req_->ctx,&fusepath[1],&buf,&timeout) :
f.ops.fgetattr(&req_->ctx,fh,&buf,&timeout));