aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2013-02-26 14:25:00 +0000
committerMatt Fleming <matt.fleming@intel.com>2013-02-26 14:25:00 +0000
commit12eafad11c9c68c979309087d71f1c76e3f1c4b9 (patch)
treea60f1d89b268dc4738b76a331fb0303a0aff0f92
parent41c29c26d70fde563d7c255872bbadad87a39dfa (diff)
downloadsyslinux-12eafad11c9c68c979309087d71f1c76e3f1c4b9.tar.gz
syslinux-12eafad11c9c68c979309087d71f1c76e3f1c4b9.tar.xz
syslinux-12eafad11c9c68c979309087d71f1c76e3f1c4b9.zip
shuffle: syslinux_dump_movelist() only takes 1 argument
Fix up the following compiler error that is triggered with -DDEBUG=2, syslinux/shuffle.c:135:2: error: too many arguments to function ‘syslinux_dump_movelist’ In file included from syslinux/shuffle.c:44:0: ../include/syslinux/movebits.h:87:6: note: declared here syslinux/shuffle.c:155:5: warning: passing argument 1 of ‘syslinux_dump_movelist’ from incompatible pointer type [enabled by default] Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r--com32/lib/syslinux/shuffle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/lib/syslinux/shuffle.c b/com32/lib/syslinux/shuffle.c
index 544915a3..1dcdb9d0 100644
--- a/com32/lib/syslinux/shuffle.c
+++ b/com32/lib/syslinux/shuffle.c
@@ -132,7 +132,7 @@ int syslinux_do_shuffle(struct syslinux_movelist *fraglist,
goto bail;
#if DEBUG > 1
- syslinux_dump_movelist(stdout, fraglist);
+ syslinux_dump_movelist(fraglist);
#endif
if (syslinux_compute_movelist(&moves, fraglist, rxmap))
@@ -152,7 +152,7 @@ int syslinux_do_shuffle(struct syslinux_movelist *fraglist,
#if DEBUG > 1
dprintf("Final movelist:\n");
- syslinux_dump_movelist(stdout, moves);
+ syslinux_dump_movelist(moves);
#endif
syslinux_free_memmap(rxmap);