summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Pomazau <anatol@google.com>2012-02-06 17:42:27 -0800
committerAnatol Pomazau <anatol@google.com>2012-02-06 17:49:03 -0800
commit9361053a6bbd4b5a2d49785d5ccc13525a4d60f7 (patch)
tree19f9e07323bceab1f92882aa86fb497f577a3509
parent00740cc344cabd6cae6a8cc661c04c9c79b91a71 (diff)
downloadextras-9361053a6bbd4b5a2d49785d5ccc13525a4d60f7.tar.gz
Remove trailing whitespaces
Change-Id: Ia0537cefe4dc121d5d8db7479154853200790605
-rw-r--r--ext4_utils/output_file.c2
-rw-r--r--ext4_utils/simg2img.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext4_utils/output_file.c b/ext4_utils/output_file.c
index d7cf91bc..1b0b9dc9 100644
--- a/ext4_utils/output_file.c
+++ b/ext4_utils/output_file.c
@@ -447,7 +447,7 @@ void pad_output_file(struct output_file *out, u64 len)
void write_data_block(struct output_file *out, u64 off, u8 *data, int len)
{
int ret;
-
+
if (off + len > (u64) info.len) {
error("attempted to write block %llu past end of filesystem",
off + len - info.len);
diff --git a/ext4_utils/simg2img.c b/ext4_utils/simg2img.c
index 228d289c..12b92eb7 100644
--- a/ext4_utils/simg2img.c
+++ b/ext4_utils/simg2img.c
@@ -247,7 +247,7 @@ int main(int argc, char *argv[])
fprintf(stderr, "Error reading chunk header\n");
exit(-1);
}
-
+
if (sparse_header.chunk_hdr_sz > CHUNK_HEADER_LEN) {
/* Skip the remaining bytes in a header that is longer than
* we expected.