diff options
author | Björn Gustavsson <[email protected]> | 2011-11-29 16:46:53 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-11-30 06:41:42 +0100 |
commit | a84ad9d0a1c25b7ce7a0bc6492d6dea7bb48d6b1 (patch) | |
tree | 294cd263aec0a05cbcbb5910306b3fec4ad24f19 /lib/os_mon/test | |
parent | d715afb5d0815dd6ee35387b74a95612a6f808f9 (diff) | |
download | otp-a84ad9d0a1c25b7ce7a0bc6492d6dea7bb48d6b1.tar.gz otp-a84ad9d0a1c25b7ce7a0bc6492d6dea7bb48d6b1.tar.bz2 otp-a84ad9d0a1c25b7ce7a0bc6492d6dea7bb48d6b1.zip |
os_mon: Eliminate use of tuple fun
Diffstat (limited to 'lib/os_mon/test')
-rw-r--r-- | lib/os_mon/test/os_mon_mib_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/os_mon/test/os_mon_mib_SUITE.erl b/lib/os_mon/test/os_mon_mib_SUITE.erl index 4bd256a3f7..a137efc441 100644 --- a/lib/os_mon/test/os_mon_mib_SUITE.erl +++ b/lib/os_mon/test/os_mon_mib_SUITE.erl @@ -718,7 +718,7 @@ del_dir(Dir) -> {ok, Files} = file:list_dir(Dir), FullPathFiles = lists:map(fun(File) -> filename:join(Dir, File) end, Files), - lists:foreach({file, delete}, FullPathFiles), + lists:foreach(fun file:delete/1, FullPathFiles), file:del_dir(Dir). %%--------------------------------------------------------------------- |