This commit is contained in:
Antonio SJ Musumeci 2025-12-15 13:43:46 -06:00
parent 9f5798a97b
commit 2151cbb5f6

View file

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