Remove useless/meaningless calls to glibtop_init_[prs]() with sysdeps/{freebsd,linux}.
This commit is contained in:
committed by
Benoît Dejean
parent
58d50d3546
commit
d817bee619
@@ -194,7 +194,6 @@ glibtop_get_fsusage_s(glibtop *server, glibtop_fsusage *buf, const char *path)
|
||||
{
|
||||
struct statvfs fsd;
|
||||
|
||||
glibtop_init_r(&server, 0, 0);
|
||||
memset(buf, 0, sizeof(glibtop_fsusage));
|
||||
|
||||
if (statvfs(path, &fsd) < 0) {
|
||||
|
Reference in New Issue
Block a user