[cmyth] Segment fault in vfprintf: bad order for parameters

#0  0x00007fdcaa025040 in _IO_vfprintf_internal (s=s@entry=0x7fdc31877420, format=<optimized out>, format@entry=0x7fdc85dda4b8 "%s: connect failed on port %u to '%s' (%d)\n", ap=ap@entry=0x7fdc318785d8) at vfprintf.c:1655
#1  0x00007fdcaa0e7c00 in ___vsnprintf_chk (s=0x7fdc31877597 "cmyth_reconnect_addr: connect failed on port 1610688128 to '000", maxlen=<optimized out>, flags=flags@entry=1, slen=slen@entry=18446744073709551615, format=format@entry=0x7fdc85dda4b8 "%s: connect failed on port %u to '%s' (%d)\n", args=args@entry=0x7fdc318785d8) at vsnprintf_chk.c:63
#2  0x00007fdc85dbc5e5 in vsnprintf (__fmt=0x7fdc85dda4b8 "%s: connect failed on port %u to '%s' (%d)\n", __n=<optimized out>, __s=<optimized out>, __ap=0x7fdc318785d8) at /usr/include/x86_64-linux-gnu/bits/stdio2.h:77
#3  __cmyth_dbg (level=0, fmt=0x7fdc85dda4b8 "%s: connect failed on port %u to '%s' (%d)\n", ap=ap@entry=0x7fdc318785d8, ctx=0x7fdc85ffa160 <cmyth_debug_ctx>) at ../include/debug.h:60
#4  0x00007fdc85dbc777 in cmyth_dbg (level=level@entry=0, fmt=fmt@entry=0x7fdc85dda4b8 "%s: connect failed on port %u to '%s' (%d)\n") at debug.c:114
#5  0x00007fdc85db9a38 in cmyth_reconnect_addr (addr=0x7fdc24000b90, conn=0x7fdc60017638) at connection.c:371