Skip to content

Commit

Permalink
xz: Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Larhzu committed Dec 27, 2024
1 parent bf6da9a commit 260d5d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/xz/file_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -993,8 +993,8 @@ io_open_dest(file_pair *pair)
/// \param pair File whose dest_fd should be closed
/// \param success If false, the file will be removed from the disk.
///
/// \return Zero if closing succeeds. On error, -1 is returned and
/// error message printed.
/// \return If closing succeeds, false is returned. On error, an error
/// message is printed and true is returned.
static bool
io_close_dest(file_pair *pair, bool success)
{
Expand Down
4 changes: 2 additions & 2 deletions src/xz/file_io.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,6 @@ extern bool io_pread(file_pair *pair, io_buf *buf, size_t size, uint64_t pos);
/// \param buf Buffer containing the data to be written
/// \param size Size of the buffer; must be at most IO_BUFFER_SIZE
///
/// \return On success, zero is returned. On error, -1 is returned
/// and error message printed.
/// \return On success, false is returned. On error, error message
/// is printed and true is returned.
extern bool io_write(file_pair *pair, const io_buf *buf, size_t size);

0 comments on commit 260d5d3

Please sign in to comment.