Skip to content

Commit e07523a

Browse files
krekre
authored andcommitted
Use %zu to printd a size_t, should unbreak i386 (and other ILP32) build.
1 parent 91e830c commit e07523a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sys/kern/sys_aio.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: sys_aio.c,v 1.51 2025/10/10 15:53:55 christos Exp $ */
1+
/* $NetBSD: sys_aio.c,v 1.52 2025/10/10 17:08:01 kre Exp $ */
22

33
/*
44
* Copyright (c) 2025 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
6868
*/
6969

7070
#include <sys/cdefs.h>
71-
__KERNEL_RCSID(0, "$NetBSD: sys_aio.c,v 1.51 2025/10/10 15:53:55 christos Exp $");
71+
__KERNEL_RCSID(0, "$NetBSD: sys_aio.c,v 1.52 2025/10/10 17:08:01 kre Exp $");
7272

7373
#ifdef _KERNEL_OPT
7474
#include "opt_ddb.h"
@@ -734,7 +734,7 @@ aiost_create(struct aiosp *sp, struct aiost **ret)
734734
sp->nthreads_total++;
735735

736736
int error = kthread_create(PRI_NONE, KTHREAD_MUSTJOIN | KTHREAD_TS,
737-
NULL, aiost_entry, st, &st->lwp, "aio_%d_%ld", p->p_pid,
737+
NULL, aiost_entry, st, &st->lwp, "aio_%d_%zu", p->p_pid,
738738
sp->nthreads_total);
739739
if (error) {
740740
return error;

0 commit comments

Comments
 (0)