diff --git a/src/history.h b/src/history.h index af91205f7..b65132373 100644 --- a/src/history.h +++ b/src/history.h @@ -182,7 +182,7 @@ class history_t { // Attempts to rewrite the existing file to a target temporary file // Returns false on error, true on success - bool rewrite_to_temporary_file(int tmp_fd, int existing_fd) const; + bool rewrite_to_temporary_file(int existing_fd, int dst_fd) const; // Saves history by rewriting the file. bool save_internal_via_rewrite();