Signed-off-by: Michael Olbrich <m.olbrich@xxxxxxxxxxxxxx> --- arch/efi/efi/efi-block-io.c | 2 +- arch/efi/efi/efi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/efi/efi/efi-block-io.c b/arch/efi/efi/efi-block-io.c index 85603d913d5b..e02d3b49cc99 100644 --- a/arch/efi/efi/efi-block-io.c +++ b/arch/efi/efi/efi-block-io.c @@ -147,7 +147,7 @@ int efi_bio_probe(struct efi_device *efidev) efi_bio_print_info(priv); priv->dev = &efidev->dev; - priv->blk.cdev.name = asprintf("disk%d", cdev_find_free_index("disk")); + priv->blk.cdev.name = xasprintf("disk%d", cdev_find_free_index("disk")); priv->blk.blockbits = ffs(media->block_size) - 1; priv->blk.num_blocks = media->last_block + 1; priv->blk.ops = &efi_bio_ops; diff --git a/arch/efi/efi/efi.c b/arch/efi/efi/efi.c index 1f0deed577f0..6cffac60f54b 100644 --- a/arch/efi/efi/efi.c +++ b/arch/efi/efi/efi.c @@ -125,7 +125,7 @@ struct efi_boot *efi_get_boot(int num) int size; char *name; - name = asprintf("Boot%04X", num); + name = xasprintf("Boot%04X", num); buf = efi_get_global_var(name, &size); -- 2.1.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox