diff options
Diffstat (limited to 'drivers/partition/partition.c')
-rw-r--r-- | drivers/partition/partition.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/partition/partition.c b/drivers/partition/partition.c index 5a338b8d9c..d6fb4b8e4e 100644 --- a/drivers/partition/partition.c +++ b/drivers/partition/partition.c @@ -11,6 +11,7 @@ #include <mbr.h> #include <partition.h> #include <platform.h> +#include <stdio.h> #include <string.h> static uint8_t mbr_sector[PARTITION_BLOCK_SIZE]; @@ -24,7 +25,7 @@ static void dump_entries(int num) VERBOSE("Partition table with %d entries:\n", num); for (i = 0; i < num; i++) { - len = tf_snprintf(name, EFI_NAMELEN, "%s", list.list[i].name); + len = snprintf(name, EFI_NAMELEN, "%s", list.list[i].name); for (j = 0; j < EFI_NAMELEN - len - 1; j++) { name[len + j] = ' '; } |