-/* $OpenBSD: application_agentx.c,v 1.1 2022/08/23 08:56:20 martijn Exp $ */
+/* $OpenBSD: application_agentx.c,v 1.2 2022/08/29 18:10:48 martijn Exp $ */
/*
* Copyright (c) 2022 Martijn van Duren <martijn@openbsd.org>
*
bind(master->axm_fd, (struct sockaddr *)&(master->axm_sun),
sizeof(master->axm_sun)) == -1 ||
listen(master->axm_fd, 5)) {
- log_warn("Agentx: listen %s", master->axm_sun.sun_path);
+ log_warn("AgentX: listen %s", master->axm_sun.sun_path);
umask(mask);
return;
}
appl_agentx_recv, conn);
event_add(&(conn->conn_rev), NULL);
event_set(&(conn->conn_wev), fd, EV_WRITE, appl_agentx_send, conn);
- log_info("AgentX(%d): new connection", conn->conn_id);
+ log_info("AgentX(%"PRIu32"): new connection", conn->conn_id);
return;
fail:
if (asprintf(&(session->sess_backend.ab_name),
"AgentX(%"PRIu32"/%"PRIu32")",
conn->conn_id, session->sess_id) == -1) {
- log_warn("AgentX(%d): asprintf: Open Failed",
+ log_warn("AgentX(%"PRIu32"): asprintf: Open Failed",
conn->conn_id);
goto fail;
}