mirror of
https://github.com/pengutronix/genimage.git
synced 2024-11-23 17:53:52 +08:00
image-ext: constify
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
This commit is contained in:
parent
0fae08b993
commit
b37cefbfcf
@ -25,10 +25,10 @@
|
|||||||
static int ext2_generate(struct image *image)
|
static int ext2_generate(struct image *image)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
char *extraargs = cfg_getstr(image->imagesec, "extraargs");
|
const char *extraargs = cfg_getstr(image->imagesec, "extraargs");
|
||||||
char *features = cfg_getstr(image->imagesec, "features");
|
const char *features = cfg_getstr(image->imagesec, "features");
|
||||||
char *label = cfg_getstr(image->imagesec, "label");
|
const char *label = cfg_getstr(image->imagesec, "label");
|
||||||
char *fs_timestamp = cfg_getstr(image->imagesec, "fs-timestamp");
|
const char *fs_timestamp = cfg_getstr(image->imagesec, "fs-timestamp");
|
||||||
|
|
||||||
ret = systemp(image, "%s -d %s --size-in-blocks=%lld -i 16384 %s %s",
|
ret = systemp(image, "%s -d %s --size-in-blocks=%lld -i 16384 %s %s",
|
||||||
get_opt("genext2fs"),
|
get_opt("genext2fs"),
|
||||||
|
Loading…
Reference in New Issue
Block a user