diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-05-10 11:05:45 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-05-10 11:05:45 +0200 |
commit | 72edb4e6d3ae5ea0fb356597a4f446178aee41ab (patch) | |
tree | c4bc0d03dcccaf3d156df4f749a08ba8e0505c21 /lib/os_mon/src/disksup.erl | |
parent | 715876f5e6d40bc75ad8f3e6c4c70249aea0fc66 (diff) | |
download | otp-72edb4e6d3ae5ea0fb356597a4f446178aee41ab.tar.gz otp-72edb4e6d3ae5ea0fb356597a4f446178aee41ab.tar.bz2 otp-72edb4e6d3ae5ea0fb356597a4f446178aee41ab.zip |
os_mon: Fix unmatched return warnings
Diffstat (limited to 'lib/os_mon/src/disksup.erl')
-rw-r--r-- | lib/os_mon/src/disksup.erl | 2 |
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}}; |