aboutsummaryrefslogtreecommitdiffstats
path: root/lib/os_mon/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-11-29 16:46:53 +0100
committerBjörn Gustavsson <[email protected]>2011-11-30 06:41:42 +0100
commita84ad9d0a1c25b7ce7a0bc6492d6dea7bb48d6b1 (patch)
tree294cd263aec0a05cbcbb5910306b3fec4ad24f19 /lib/os_mon/src
parentd715afb5d0815dd6ee35387b74a95612a6f808f9 (diff)
downloadotp-a84ad9d0a1c25b7ce7a0bc6492d6dea7bb48d6b1.tar.gz
otp-a84ad9d0a1c25b7ce7a0bc6492d6dea7bb48d6b1.tar.bz2
otp-a84ad9d0a1c25b7ce7a0bc6492d6dea7bb48d6b1.zip
os_mon: Eliminate use of tuple fun
Diffstat (limited to 'lib/os_mon/src')
-rw-r--r--lib/os_mon/src/os_mon_mib.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/os_mon/src/os_mon_mib.erl b/lib/os_mon/src/os_mon_mib.erl
index a4ce274a16..c972913b03 100644
--- a/lib/os_mon/src/os_mon_mib.erl
+++ b/lib/os_mon/src/os_mon_mib.erl
@@ -65,11 +65,11 @@
%% Shadow argument macros
-define(loadShadowArgs,
{loadTable, string, record_info(fields, loadTable), 5000,
- {os_mon_mib, update_load_table}}).
+ fun os_mon_mib:update_load_table/0}).
-define(diskShadowArgs,
{diskTable, {integer, integer}, record_info(fields, diskTable), 5000,
- {os_mon_mib, update_disk_table}}).
+ fun os_mon_mib:update_disk_table/0}).
%% Misc
-record(diskAlloc, {diskDescr, diskId}).