summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/u_queue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/u_queue.c b/src/util/u_queue.c
index 4ce1af518b3..22d2cdd0fa2 100644
--- a/src/util/u_queue.c
+++ b/src/util/u_queue.c
@@ -322,10 +322,10 @@ util_queue_init(struct util_queue *queue,
memset(queue, 0, sizeof(*queue));
if (process_len) {
- snprintf(queue->name, sizeof(queue->name), "%.*s:%s",
- process_len, process_name, name);
+ util_snprintf(queue->name, sizeof(queue->name), "%.*s:%s",
+ process_len, process_name, name);
} else {
- snprintf(queue->name, sizeof(queue->name), "%s", name);
+ util_snprintf(queue->name, sizeof(queue->name), "%s", name);
}
queue->flags = flags;