aboutsummaryrefslogtreecommitdiff
path: root/coreutils/od_bloaty.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-01-14 15:57:44 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-01-14 15:57:44 +0100
commit60cb48ca50fcff24aa6c3927f51e4a508fa118f4 (patch)
tree493e30821f3d484b7395ce9d9e4be39ec9a43126 /coreutils/od_bloaty.c
parentb8173b603f57dcf918a67f1ec00763ab5f4e1cf8 (diff)
downloadbusybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.tar.gz
busybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.tar.bz2
busybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.zip
whitespace cleanup. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/od_bloaty.c')
-rw-r--r--coreutils/od_bloaty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/od_bloaty.c b/coreutils/od_bloaty.c
index 2f6650153..b408a8477 100644
--- a/coreutils/od_bloaty.c
+++ b/coreutils/od_bloaty.c
@@ -1021,12 +1021,12 @@ dump(off_t current_offset, off_t end_offset)
1021 l_c_m = get_lcm(); 1021 l_c_m = get_lcm();
1022 1022
1023 /* Make bytes_to_write the smallest multiple of l_c_m that 1023 /* Make bytes_to_write the smallest multiple of l_c_m that
1024 is at least as large as n_bytes_read. */ 1024 is at least as large as n_bytes_read. */
1025 bytes_to_write = l_c_m * ((n_bytes_read + l_c_m - 1) / l_c_m); 1025 bytes_to_write = l_c_m * ((n_bytes_read + l_c_m - 1) / l_c_m);
1026 1026
1027 memset(block[idx] + n_bytes_read, 0, bytes_to_write - n_bytes_read); 1027 memset(block[idx] + n_bytes_read, 0, bytes_to_write - n_bytes_read);
1028 write_block(current_offset, bytes_to_write, 1028 write_block(current_offset, bytes_to_write,
1029 block[idx ^ 1], block[idx]); 1029 block[idx ^ 1], block[idx]);
1030 current_offset += n_bytes_read; 1030 current_offset += n_bytes_read;
1031 } 1031 }
1032 1032