diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-11-11 19:06:34 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-11-11 19:06:35 +0100 |
| commit | ab38519473678e7cbecb49f2f5eebe1b4c40f9c9 (patch) | |
| tree | c8cab884e30441d4e5d5dde3b776a3a5aef719c6 /src/KM_fileio.cpp | |
| parent | dda2955713196b56265bd23fd1c36d15a1eae6cc (diff) | |
More debugging.debug
Diffstat (limited to 'src/KM_fileio.cpp')
| -rw-r--r-- | src/KM_fileio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/KM_fileio.cpp b/src/KM_fileio.cpp index 5a8597b..df54d89 100644 --- a/src/KM_fileio.cpp +++ b/src/KM_fileio.cpp @@ -1330,7 +1330,7 @@ Kumu::FileWriter::Writev(ui32_t* bytes_written) if ( write_size == -1L || write_size != total_size ) { - DefaultLogSink().Error("writev failed (%d)", errno); + DefaultLogSink().Error("writev failed errno=%d, write_size=%d, total_size=%d", errno, write_size, total_size); return RESULT_WRITEFAIL; } @@ -1361,7 +1361,7 @@ Kumu::FileWriter::Write(const byte_t* buf, ui32_t buf_len, ui32_t* bytes_written if ( write_size == -1L || (ui32_t)write_size != buf_len ) { - DefaultLogSink().Error("write failed (%d)", errno); + DefaultLogSink().Error("write failed errno=%d, write_size=%d, buf_len=%u", errno, write_size, buf_len); return RESULT_WRITEFAIL; } |
