aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gpllib/disk/bootloaders.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-01-10 13:14:59 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-01-10 13:14:59 -0800
commitf15e98672b78b204356585ea3645bcea414c41b1 (patch)
tree83c6aea9961130ad854830436e4684dc44b4553c /com32/gpllib/disk/bootloaders.c
parentc1f0e3a72993dad2767445d10ef0a581070e8a1d (diff)
downloadsyslinux.git-f15e98672b78b204356585ea3645bcea414c41b1.tar.gz
syslinux.git-f15e98672b78b204356585ea3645bcea414c41b1.tar.xz
syslinux.git-f15e98672b78b204356585ea3645bcea414c41b1.zip
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/gpllib/disk/bootloaders.c')
-rw-r--r--com32/gpllib/disk/bootloaders.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/gpllib/disk/bootloaders.c b/com32/gpllib/disk/bootloaders.c
index 29aecbd4..188dd64b 100644
--- a/com32/gpllib/disk/bootloaders.c
+++ b/com32/gpllib/disk/bootloaders.c
@@ -22,7 +22,7 @@
* @buffer: pre-allocated buffer
* @buffer_size: @buffer size
**/
-int get_bootloader_string(const struct driveinfo *d, const struct part_entry *p,
+int get_bootloader_string(struct driveinfo *d, const struct part_entry *p,
char *buffer, const int buffer_size)
{
char boot_sector[SECTOR * sizeof(char)];