fix use of %d when %u is wanted

This commit is contained in:
Isaac Connor 2021-04-20 11:06:54 -04:00
parent e8b761d2bf
commit 19cb66b70d
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ static bool zmFifoDbgOpen() {
int zmFifoDbgInit(Monitor *monitor) {
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());
zmFifoDbgOpen();
return 1;