aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjrobhoward <[email protected]>2016-04-29 23:31:33 -0500
committerjrobhoward <[email protected]>2016-04-29 23:31:33 -0500
commit4fa059fc27d0d6443e97df08662ca309ba7479e8 (patch)
tree6f5eed7cb0c65f294513d53812f9713b0d50da33
parent523e048754f5086a6cc4fd9a250e1b495fc5b9b8 (diff)
downloadotp-4fa059fc27d0d6443e97df08662ca309ba7479e8.tar.gz
otp-4fa059fc27d0d6443e97df08662ca309ba7479e8.tar.bz2
otp-4fa059fc27d0d6443e97df08662ca309ba7479e8.zip
Fix memsup:get_os_wordsize() on 64-bit FreeBSD
-rw-r--r--lib/os_mon/src/memsup.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/os_mon/src/memsup.erl b/lib/os_mon/src/memsup.erl
index e4b7c8c0ce..cc948c632a 100644
--- a/lib/os_mon/src/memsup.erl
+++ b/lib/os_mon/src/memsup.erl
@@ -699,6 +699,7 @@ get_os_wordsize_with_uname() ->
case String of
"x86_64" -> 64;
"sparc64" -> 64;
+ "amd64" -> 64;
_ -> 32
end.