]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - repair/xfs_repair.c
libxfs: remove libxfs_physmem
[thirdparty/xfsprogs-dev.git] / repair / xfs_repair.c
index 7e810ef46521211c75b5f22f9983d3eae131f20a..df65b6c586e19a12a9eb6e313b26c04fad007747 100644 (file)
@@ -852,7 +852,7 @@ main(int argc, char **argv)
                                        (mp->m_sb.sb_dblocks >> (10 + 1)) +
                                        50000;  /* rough estimate of 50MB overhead */
                max_mem = max_mem_specified ? max_mem_specified * 1024 :
-                                               libxfs_physmem() * 3 / 4;
+                                             platform_physmem() * 3 / 4;
 
                if (getrlimit(RLIMIT_AS, &rlim) != -1 &&
                                        rlim.rlim_cur != RLIM_INFINITY) {