Verified Commit 1afb3056 authored by Marc Vef's avatar Marc Vef
Browse files

Preload: Adding missing env init in adafs_statfs()

parent 480e0e4a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -87,6 +87,7 @@ int adafs_stat64(const string& path, struct stat64* buf) {
}

int adafs_statfs(const string& path, struct statfs* adafs_buf, struct statfs& realfs_buf) {
    init_ld_env_if_needed();
    // Check that file path exists
    auto ret = rpc_send_access(path, F_OK);
    // Valid fs error