diff --git a/lib/util.c b/lib/util.c index 704819cd4..a33df4678 100644 --- a/lib/util.c +++ b/lib/util.c @@ -1240,7 +1240,7 @@ mc_util_write_backup_content (const char *from_file_name, const char *to_file_na return FALSE; } - if (fwrite ((const void *) contents, length, 1, backup_fd) != length) + if (fwrite ((const void *) contents, 1, length, backup_fd) != length) ret1 = FALSE; { int ret2;