diff options
Diffstat (limited to 'common/initrd.c')
| -rw-r--r-- | common/initrd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/initrd.c b/common/initrd.c index f625209..6dd698d 100644 --- a/common/initrd.c +++ b/common/initrd.c @@ -75,7 +75,7 @@ pm_t get_initrdbase(void *fdt) } static char init_n[] = "init"; -static size_t init_nlen = ARRAY_SIZE(init_n); +static size_t init_nlen = ARRAY_SIZE(init_n) - 1; /* ignore trailing NULL */ size_t get_init_size(void *fdt) { |
