aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-02-26 13:32:29 +0100
committerHans Bolinder <[email protected]>2018-02-26 13:32:29 +0100
commit5e13322caacc0a92294c68eea1759d0a63d149d3 (patch)
tree344f24c8a4a4f29e0e3a97f05af56e28aa8a95e4
parent933e7fe6d59d65c16057eeba9bf448fefc364069 (diff)
downloadotp-5e13322caacc0a92294c68eea1759d0a63d149d3.tar.gz
otp-5e13322caacc0a92294c68eea1759d0a63d149d3.tar.bz2
otp-5e13322caacc0a92294c68eea1759d0a63d149d3.zip
os_mon: Correct a spec
-rw-r--r--lib/os_mon/src/disksup.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/os_mon/src/disksup.erl b/lib/os_mon/src/disksup.erl
index aeec335ba7..5118d807e1 100644
--- a/lib/os_mon/src/disksup.erl
+++ b/lib/os_mon/src/disksup.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2016. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2018. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -357,7 +357,7 @@ parse_df_take_word_percent(Input) ->
%% and capacity), skip % sign, (optionally for susv3 can also skip IUsed, IFree
%% and ICap% fields) then take remaining characters as the mount path
-spec parse_df(string(), posix | susv3) ->
- {error, parse_df} | {ok, {integer(), integer(), integer()}, string()}.
+ {error, parse_df} | {ok, {integer(), integer(), list()}, string()}.
parse_df(Input0, Flavor) ->
%% Format of Posix/Linux df output looks like Header + Lines
%% Filesystem 1024-blocks Used Available Capacity Mounted on