diff options
author | Gaël PORTAY <gael.portay@savoirfairelinux.com> | 2016-11-18 14:46:23 -0500 |
---|---|---|
committer | Gaël PORTAY <gael.portay@savoirfairelinux.com> | 2017-11-16 22:25:10 -0500 |
commit | 191a73aea71728f8645a1bd42931eb27f84f67a4 (patch) | |
tree | 975ec2af2afab2761565dba145e8df141e6b9b5b | |
parent | 0ea4e614f7c8c64050af1160adf6d1062c65c3e9 (diff) | |
download | genimage-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.conf | 2 | ||||
-rw-r--r-- | genimage.c | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -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 } @@ -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) { |