aboutsummaryrefslogtreecommitdiff
path: root/drivers/partition/partition.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/partition/partition.c')
-rw-r--r--drivers/partition/partition.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/partition/partition.c b/drivers/partition/partition.c
index e2b468363..5a338b8d9 100644
--- a/drivers/partition/partition.c
+++ b/drivers/partition/partition.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -24,7 +24,7 @@ static void dump_entries(int num)
VERBOSE("Partition table with %d entries:\n", num);
for (i = 0; i < num; i++) {
- len = snprintf(name, EFI_NAMELEN, "%s", list.list[i].name);
+ len = tf_snprintf(name, EFI_NAMELEN, "%s", list.list[i].name);
for (j = 0; j < EFI_NAMELEN - len - 1; j++) {
name[len + j] = ' ';
}