aboutsummaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
authorChris Watkins <chris.watkins88@gmail.com>2014-04-09 22:03:13 -0700
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-12 16:52:14 -0300
commit2e393110ad9cd058be2ef162ef9f02608dc0279e (patch)
treeeb0e8f814d5d6a0ddd5458a2626029bc9540ed26 /src/option.c
parent77c2c6947974d54c28c93e6e8509bc2d07c882fe (diff)
downloadrneovim-2e393110ad9cd058be2ef162ef9f02608dc0279e.tar.gz
rneovim-2e393110ad9cd058be2ef162ef9f02608dc0279e.tar.bz2
rneovim-2e393110ad9cd058be2ef162ef9f02608dc0279e.zip
Rename os_total_mem to os_get_total_mem_kib.
Also removed an unused parameter.
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c
index 529f676886..1eccb51e5a 100644
--- a/src/option.c
+++ b/src/option.c
@@ -2029,7 +2029,7 @@ void set_init_1(void)
{
#ifdef HAVE_TOTAL_MEM
/* Use amount of memory available to Vim. */
- n = (os_total_mem(FALSE) >> 1);
+ n = (os_get_total_mem_kib() >> 1);
#else
n = (0x7fffffff >> 11);
#endif