fix use of %d when %u is wanted
This commit is contained in:
parent
e8b761d2bf
commit
19cb66b70d
|
@ -54,7 +54,7 @@ static bool zmFifoDbgOpen() {
|
||||||
|
|
||||||
int zmFifoDbgInit(Monitor *monitor) {
|
int zmFifoDbgInit(Monitor *monitor) {
|
||||||
zm_fifodbg_inited = true;
|
zm_fifodbg_inited = true;
|
||||||
snprintf(zm_fifodbg_log, sizeof(zm_fifodbg_log), "%s/dbgpipe-%d.log",
|
snprintf(zm_fifodbg_log, sizeof(zm_fifodbg_log), "%s/dbgpipe-%u.log",
|
||||||
staticConfig.PATH_SOCKS.c_str(), monitor->Id());
|
staticConfig.PATH_SOCKS.c_str(), monitor->Id());
|
||||||
zmFifoDbgOpen();
|
zmFifoDbgOpen();
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue