aboutsummaryrefslogtreecommitdiffstats
path: root/lib/os_mon/src/disksup.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-05-13 13:27:18 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-05-13 13:27:18 +0200
commit9addbee447442a08430557c20d24c961df224926 (patch)
tree7264efe3d313246b035bdd7f8353529382fa0645 /lib/os_mon/src/disksup.erl
parentd9facba40a015ce90cea300e7387cce02c978e47 (diff)
parent72edb4e6d3ae5ea0fb356597a4f446178aee41ab (diff)
downloadotp-9addbee447442a08430557c20d24c961df224926.tar.gz
otp-9addbee447442a08430557c20d24c961df224926.tar.bz2
otp-9addbee447442a08430557c20d24c961df224926.zip
Merge branch 'egil/os_mon/fix-unmatched_return/OTP-13595'
* egil/os_mon/fix-unmatched_return/OTP-13595: os_mon: Fix unmatched return warnings
Diffstat (limited to 'lib/os_mon/src/disksup.erl')
-rw-r--r--lib/os_mon/src/disksup.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/os_mon/src/disksup.erl b/lib/os_mon/src/disksup.erl
index 2b5447cfcb..492e4814da 100644
--- a/lib/os_mon/src/disksup.erl
+++ b/lib/os_mon/src/disksup.erl
@@ -153,7 +153,7 @@ handle_cast(_Msg, State) ->
handle_info(timeout, State) ->
NewDiskData = check_disk_space(State#state.os, State#state.port,
State#state.threshold),
- timer:send_after(State#state.timeout, timeout),
+ {ok, _Tref} = timer:send_after(State#state.timeout, timeout),
{noreply, State#state{diskdata = NewDiskData}};
handle_info({'EXIT', _Port, Reason}, State) ->
{stop, {port_died, Reason}, State#state{port=not_used}};