}
for (thread = 0; thread < (uint16_t)thread_max; thread++) {
- snprintf(tname, sizeof(tname), "%s#%02u", thread_name_workers, thread+1);
- snprintf(qname, sizeof(qname), "pickup%u", thread+1);
+ snprintf(tname, sizeof(tname), "%s#%02d", thread_name_workers, thread + 1);
+ snprintf(qname, sizeof(qname), "pickup%d", thread + 1);
SCLogDebug("tname %s, qname %s", tname, qname);
}
for (thread = 0; thread < (uint16_t)thread_max; thread++) {
- snprintf(tname, sizeof(tname), "%s#%02u", thread_name_workers, thread+1);
- snprintf(qname, sizeof(qname), "pickup%u", thread+1);
+ snprintf(tname, sizeof(tname), "%s#%02d", thread_name_workers, thread + 1);
+ snprintf(qname, sizeof(qname), "pickup%d", thread + 1);
SCLogDebug("tname %s, qname %s", tname, qname);
SCLogDebug("Assigning %s affinity to cpu %u", tname, cpu);
}
for (int thread = 0; thread < thread_max; thread++) {
- snprintf(tname, sizeof(tname), "%s#%02u", thread_name_workers, thread+1);
- snprintf(qname, sizeof(qname), "pickup%u", thread+1);
+ snprintf(tname, sizeof(tname), "%s#%02d", thread_name_workers, thread + 1);
+ snprintf(qname, sizeof(qname), "pickup%d", thread + 1);
SCLogDebug("tname %s, qname %s", tname, qname);
}
for (int thread = 0; thread < thread_max; thread++) {
- snprintf(tname, sizeof(tname), "%s#%02u", thread_name_workers, thread+1);
+ snprintf(tname, sizeof(tname), "%s#%02d", thread_name_workers, thread + 1);
char qname[TM_QUEUE_NAME_MAX];
- snprintf(qname, sizeof(qname), "pickup%u", thread+1);
+ snprintf(qname, sizeof(qname), "pickup%d", thread + 1);
SCLogDebug("tname %s, qname %s", tname, qname);