summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaël PORTAY <gael.portay@savoirfairelinux.com>2016-11-18 14:46:23 -0500
committerGaël PORTAY <gael.portay@savoirfairelinux.com>2017-11-16 22:25:10 -0500
commit191a73aea71728f8645a1bd42931eb27f84f67a4 (patch)
tree975ec2af2afab2761565dba145e8df141e6b9b5b
parent0ea4e614f7c8c64050af1160adf6d1062c65c3e9 (diff)
downloadgenimage-191a73aea71728f8645a1bd42931eb27f84f67a4.tar.gz
genimage-191a73aea71728f8645a1bd42931eb27f84f67a4.tar.xz
fix indentation violations
Remove trailing blanks and replace spaces by tabulation. Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
-rw-r--r--flash.conf2
-rw-r--r--genimage.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/flash.conf b/flash.conf
index 542e6bf..f0978b4 100644
--- a/flash.conf
+++ b/flash.conf
@@ -12,7 +12,7 @@ flash nor-64M-128k {
lebsize = 130944
numpebs = 256
minimum-io-unit-size = 1
- vid-header-offset = 64
+ vid-header-offset = 64
sub-page-size = 1
}
diff --git a/genimage.c b/genimage.c
index d22611b..659bf37 100644
--- a/genimage.c
+++ b/genimage.c
@@ -300,7 +300,7 @@ static int parse_partitions(struct image *image, cfg_t *imagesec)
part->image = cfg_getstr(partsec, "image");
part->autoresize = cfg_getbool(partsec, "autoresize");
part->in_partition_table = cfg_getbool(partsec, "in-partition-table");
- }
+ }
return 0;
}
@@ -566,7 +566,7 @@ int main(int argc, char *argv[])
image_tmp[0].name = handler->type;
image_tmp[0].subopts = handler->opts;
-
+
memcpy(&imageopts[start + i], image_tmp, sizeof(cfg_opt_t));
}
@@ -631,7 +631,7 @@ int main(int argc, char *argv[])
if (ret)
goto cleanup;
}
- }
+ }
/* check if each partition has a corresponding image */
list_for_each_entry(image, &images, list) {