summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2023-01-04 01:37:00 +0000
committerchristos <christos@NetBSD.org>2023-01-04 01:37:00 +0000
commit2219cd557fe211dfd9beba879cf56aac966817d6 (patch)
tree386614d991ca713200eb3bd0f3c2829645f6afef /libexec
parenta9a363de708019dcb1fa5532434dc4c5606c562f (diff)
make the what argument size_t since we are passing in size_t
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ld.elf_so/expand.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ld.elf_so/expand.c b/libexec/ld.elf_so/expand.c
index 7e5ae97b60f..d53cd521dce 100644
--- a/libexec/ld.elf_so/expand.c
+++ b/libexec/ld.elf_so/expand.c
@@ -1,4 +1,4 @@
-/* $NetBSD: expand.c,v 1.6 2013/05/06 08:02:20 skrll Exp $ */
+/* $NetBSD: expand.c,v 1.7 2023/01/04 01:37:00 christos Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: expand.c,v 1.6 2013/05/06 08:02:20 skrll Exp $");
+__RCSID("$NetBSD: expand.c,v 1.7 2023/01/04 01:37:00 christos Exp $");
#endif /* not lint */
#include <ctype.h>
@@ -69,7 +69,7 @@ static int mib[3][2] = {
};
static size_t
-expand(char *buf, const char *execname, int what, size_t bl)
+expand(char *buf, const char *execname, size_t what, size_t bl)
{
const char *p, *ep;
char *bp = buf;