summaryrefslogtreecommitdiff
path: root/gpttool/gpttool.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-10-29 14:29:26 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-29 14:29:26 -0700
commitf17f55914e18eb176ccc5bb8266b248ece8cb56b (patch)
treeb484ac8d44be0f04f73810c931f970bc955ecc6a /gpttool/gpttool.c
parent0f26808e2c696f8bdcca644e0ddae2af9f753ada (diff)
parent36d44740dd045403ae615b8dd6dac8b9a4e9f5bf (diff)
am 36d44740: Merge "Fix a bunch of small system/core bugs."
* commit '36d44740dd045403ae615b8dd6dac8b9a4e9f5bf': Fix a bunch of small system/core bugs.
Diffstat (limited to 'gpttool/gpttool.c')
-rw-r--r--gpttool/gpttool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpttool/gpttool.c b/gpttool/gpttool.c
index 05d51779c..d3f08fe14 100644
--- a/gpttool/gpttool.c
+++ b/gpttool/gpttool.c
@@ -161,7 +161,7 @@ void show(struct ptable *ptbl)
{
struct efi_entry *entry = ptbl->entry;
unsigned n, m;
- char name[EFI_NAMELEN];
+ char name[EFI_NAMELEN + 1];
fprintf(stderr,"ptn start block end block name\n");
fprintf(stderr,"---- ------------- ------------- --------------------\n");