From 12eafad11c9c68c979309087d71f1c76e3f1c4b9 Mon Sep 17 00:00:00 2001 From: Matt Fleming Date: Tue, 26 Feb 2013 14:25:00 +0000 Subject: shuffle: syslinux_dump_movelist() only takes 1 argument MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- com32/lib/syslinux/shuffle.c | 4 ++-- 1 file 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); -- cgit v1.2.1