diff options
author | Dmitry Ivanov <[email protected]> | 2015-04-29 16:50:36 +0600 |
---|---|---|
committer | Zandra Hird <[email protected]> | 2015-05-26 12:45:51 +0200 |
commit | 00c42c84995190ee97a021cce91287919efed1a4 (patch) | |
tree | fd762305e9777769cca3e9c694abcf80281b5def /lib | |
parent | 4034b89a07a97766dba5e6213b1eb4d76ba6df9e (diff) | |
download | otp-00c42c84995190ee97a021cce91287919efed1a4.tar.gz otp-00c42c84995190ee97a021cce91287919efed1a4.tar.bz2 otp-00c42c84995190ee97a021cce91287919efed1a4.zip |
Make cpu_sup:util/0 spec lie less
Diffstat (limited to 'lib')
-rw-r--r-- | lib/os_mon/src/cpu_sup.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/os_mon/src/cpu_sup.erl b/lib/os_mon/src/cpu_sup.erl index 0c26956c57..b4ad8e2aa0 100644 --- a/lib/os_mon/src/cpu_sup.erl +++ b/lib/os_mon/src/cpu_sup.erl @@ -121,7 +121,7 @@ util(Args) when is_list (Args) -> util(_) -> erlang:error(badarg). --spec util() -> float(). +-spec util() -> float() | {'error', any()}. util() -> case util([]) of |