Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wyang007 committed Aug 19, 2022
1 parent e1fb87a commit bee4ae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdPosix/XrdPosixXrootd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,7 @@ int XrdPosixXrootd::EcStat(const char *path, struct stat *buf, XrdPosixAdmin *ad
{
std::stringstream sstream0(xattrvals[0].value);
sstream0 >> buf->st_mtime;
std::stringstream sstream1(xattrvals[0].value);
std::stringstream sstream1(xattrvals[1].value);
sstream1 >> buf->st_size;
buf->st_blocks = (buf->st_size + 512)/512;
}
Expand Down

0 comments on commit bee4ae7

Please sign in to comment.