summaryrefslogtreecommitdiff
path: root/src/util/u_queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/u_queue.c')
-rw-r--r--src/util/u_queue.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/u_queue.c b/src/util/u_queue.c
index cd0b95b6ead..46c61eb8b7b 100644
--- a/src/util/u_queue.c
+++ b/src/util/u_queue.c
@@ -257,7 +257,7 @@ util_queue_thread_func(void *input)
if (strlen(queue->name) > 0) {
char name[16];
- util_snprintf(name, sizeof(name), "%s%i", queue->name, thread_index);
+ snprintf(name, sizeof(name), "%s%i", queue->name, thread_index);
u_thread_setname(name);
}
@@ -405,10 +405,10 @@ util_queue_init(struct util_queue *queue,
memset(queue, 0, sizeof(*queue));
if (process_len) {
- util_snprintf(queue->name, sizeof(queue->name), "%.*s:%s",
- process_len, process_name, name);
+ snprintf(queue->name, sizeof(queue->name), "%.*s:%s",
+ process_len, process_name, name);
} else {
- util_snprintf(queue->name, sizeof(queue->name), "%s", name);
+ snprintf(queue->name, sizeof(queue->name), "%s", name);
}
queue->flags = flags;