diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-01-10 13:14:59 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-01-10 13:14:59 -0800 |
commit | f15e98672b78b204356585ea3645bcea414c41b1 (patch) | |
tree | 83c6aea9961130ad854830436e4684dc44b4553c /com32/gplinclude/disk | |
parent | c1f0e3a72993dad2767445d10ef0a581070e8a1d (diff) | |
download | syslinux-f15e98672b78b204356585ea3645bcea414c41b1.tar.gz |
disk/bootloaders.c: fix bogus const in get_bootloader_string()
get_bootloader_string() takes a mutable first argument; the call chain
does have call paths on which this argument will be modified.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/gplinclude/disk')
-rw-r--r-- | com32/gplinclude/disk/bootloaders.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/gplinclude/disk/bootloaders.h b/com32/gplinclude/disk/bootloaders.h index 5a6ff9d9..56a0f4e3 100644 --- a/com32/gplinclude/disk/bootloaders.h +++ b/com32/gplinclude/disk/bootloaders.h @@ -14,6 +14,6 @@ #include <disk/geom.h> #include <disk/partition.h> -int get_bootloader_string(const struct driveinfo *, const struct part_entry *, +int get_bootloader_string(struct driveinfo *, const struct part_entry *, char *, const int); #endif /* __BOOTLOADERS_H_ */ |