mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Fix whitespace indentation.
This commit is contained in:
parent
8756fe91e2
commit
fe0416be9d
28
lrzip.c
28
lrzip.c
|
|
@ -431,21 +431,21 @@ void decompress_file(rzip_control *control)
|
|||
fd_out = open_tmpoutfile(control);
|
||||
control->fd_out = fd_out;
|
||||
|
||||
read_magic(control, fd_in, &expected_size);
|
||||
read_magic(control, fd_in, &expected_size);
|
||||
|
||||
if (!STDOUT) {
|
||||
/* Check if there's enough free space on the device chosen to fit the
|
||||
* decompressed file. */
|
||||
if (unlikely(fstatvfs(fd_out, &fbuf)))
|
||||
fatal("Failed to fstatvfs in decompress_file\n");
|
||||
free_space = fbuf.f_bsize * fbuf.f_bavail;
|
||||
if (free_space < expected_size) {
|
||||
if (FORCE_REPLACE)
|
||||
print_err("Warning, inadequate free space detected, but attempting to decompress due to -f option being used.\n");
|
||||
else
|
||||
failure("Inadequate free space to decompress file, use -f to override.\n");
|
||||
}
|
||||
}
|
||||
if (!STDOUT) {
|
||||
/* Check if there's enough free space on the device chosen to fit the
|
||||
* decompressed file. */
|
||||
if (unlikely(fstatvfs(fd_out, &fbuf)))
|
||||
fatal("Failed to fstatvfs in decompress_file\n");
|
||||
free_space = fbuf.f_bsize * fbuf.f_bavail;
|
||||
if (free_space < expected_size) {
|
||||
if (FORCE_REPLACE)
|
||||
print_err("Warning, inadequate free space detected, but attempting to decompress due to -f option being used.\n");
|
||||
else
|
||||
failure("Inadequate free space to decompress file, use -f to override.\n");
|
||||
}
|
||||
}
|
||||
|
||||
fd_hist = open(control->outfile, O_RDONLY);
|
||||
if (unlikely(fd_hist == -1))
|
||||
|
|
|
|||
Loading…
Reference in a new issue