diff options
Diffstat (limited to 'src/lib/writer.cc')
| -rw-r--r-- | src/lib/writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc index c31ae2a91..45a74624f 100644 --- a/src/lib/writer.cc +++ b/src/lib/writer.cc @@ -634,7 +634,7 @@ Writer::write_cover_sheet () boost::algorithm::replace_all (text, "$LENGTH", length); - fwrite (text.c_str(), 1, text.length(), f); + checked_fwrite (text.c_str(), text.length(), f, cover); fclose (f); } |
