diff options
Diffstat (limited to 'com32/lib/syslinux')
| -rw-r--r-- | com32/lib/syslinux/features.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/com32/lib/syslinux/features.c b/com32/lib/syslinux/features.c index b4d79f7f..c88aef30 100644 --- a/com32/lib/syslinux/features.c +++ b/com32/lib/syslinux/features.c @@ -40,12 +40,12 @@ struct __syslinux_feature_flags __syslinux_feature_flags; void __constructor __syslinux_detect_features(void) { - static com32sys_t reg; + static com32sys_t reg; - memset(®, 0, sizeof reg); - reg.eax.w[0] = 0x0015; - __intcall(0x22, ®, ®); + memset(®, 0, sizeof reg); + reg.eax.w[0] = 0x0015; + __intcall(0x22, ®, ®); - __syslinux_feature_flags.len = reg.ecx.w[0]; - __syslinux_feature_flags.ptr = MK_PTR(reg.es, reg.ebx.w[0]); + __syslinux_feature_flags.len = reg.ecx.w[0]; + __syslinux_feature_flags.ptr = MK_PTR(reg.es, reg.ebx.w[0]); } |
