diff --git a/src/leveled_bookie.erl b/src/leveled_bookie.erl index 6f2fa7c..23598a3 100644 --- a/src/leveled_bookie.erl +++ b/src/leveled_bookie.erl @@ -1120,7 +1120,7 @@ book_destroy(Pid) -> gen_server:call(Pid, destroy, infinity). --spec book_hotbackup(pid()) -> {async, fun(() -> ok)}. +-spec book_hotbackup(pid()) -> {async, fun((string()) -> ok)}. %% @doc Backup the Bookie %% Return a function that will take a backup of a snapshot of the Journal. %% The function will be 1-arity, and can be passed the absolute folder name