aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/disk_log.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-01-19 14:08:02 +0100
committerHans Bolinder <[email protected]>2018-01-22 16:39:08 +0100
commit6deabadcda913b4fd7f3d209e4344f0b0f736e85 (patch)
tree0dfd2c3c3cbf86656929d5a0e140f7825fc8d1dd /lib/kernel/src/disk_log.erl
parenta92b77d7cd19947bd3896dcd96c7e389efdec2de (diff)
downloadotp-6deabadcda913b4fd7f3d209e4344f0b0f736e85.tar.gz
otp-6deabadcda913b4fd7f3d209e4344f0b0f736e85.tar.bz2
otp-6deabadcda913b4fd7f3d209e4344f0b0f736e85.zip
kernel: Correct contracts and a bug in group_history
Diffstat (limited to 'lib/kernel/src/disk_log.erl')
-rw-r--r--lib/kernel/src/disk_log.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/disk_log.erl b/lib/kernel/src/disk_log.erl
index 70cbf1c87c..99ea8dc384 100644
--- a/lib/kernel/src/disk_log.erl
+++ b/lib/kernel/src/disk_log.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1997-2017. All Rights Reserved.
+%% Copyright Ericsson AB 1997-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.
@@ -266,7 +266,7 @@ inc_wrap_file(Log) ->
Size :: dlog_size(),
Reason :: no_such_log | nonode | {read_only_mode, Log}
| {blocked_log, Log}
- | {new_size_too_small, CurrentSize :: pos_integer()}
+ | {new_size_too_small, Log, CurrentSize :: pos_integer()}
| {badarg, size}
| {file_error, file:filename(), file_error()}.
change_size(Log, NewSize) ->