diff options
| author | H. Peter Anvin <hpa@zytor.com> | 2010-06-26 12:30:13 -0700 |
|---|---|---|
| committer | H. Peter Anvin <hpa@zytor.com> | 2010-06-26 12:30:13 -0700 |
| commit | 3547a45e6d81e82cbdee266fc6b6186fb189e9ea (patch) | |
| tree | ac5bc49caa9f3b8eb47609eb086b31e8ac03ae4d /core | |
| parent | bf4d5601341becb4454304a6252ee1f43a713809 (diff) | |
| download | syslinux-3547a45e6d81e82cbdee266fc6b6186fb189e9ea.tar.gz | |
pmapi: make the pmapi vector include its own size
Future-proof the pmapi vector by making it include its own size.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core')
| -rw-r--r-- | core/pmapi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/pmapi.c b/core/pmapi.c index 3313ceaf..f3a0c167 100644 --- a/core/pmapi.c +++ b/core/pmapi.c @@ -19,6 +19,8 @@ const struct com32_pmapi pm_api_vector = { + .__pmapi_size = sizeof(struct com32_pmapi), + .lmalloc = pmapi_lmalloc, /* Allocate low memory */ .lfree = free, /* Free low memory */ |
