diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2024-07-19 17:03:19 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2024-07-19 17:06:16 +0000 |
| commit | 8aadd10a65b11f18950118a10569233e1420ab45 (patch) | |
| tree | 858754b2b4a1ff690819482123b298ed28a4ccc0 | |
| parent | b73445a32f8a3648372c0042ef633fe61b38d135 (diff) | |
| -rw-r--r-- | lib/lib80211/lib80211_regdomain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib80211/lib80211_regdomain.c b/lib/lib80211/lib80211_regdomain.c index 189d4661c78b..db353a69f4d9 100644 --- a/lib/lib80211/lib80211_regdomain.c +++ b/lib/lib80211/lib80211_regdomain.c @@ -441,7 +441,7 @@ lib80211_regdomain_readconfig(struct regdata *rdp, const void *p, size_t len) XML_ParserFree(mt->parser); /* setup the identifer table */ - rdp->ident = calloc(sizeof(struct ident), mt->nident + 1); + rdp->ident = calloc(mt->nident + 1, sizeof(struct ident)); if (rdp->ident == NULL) return ENOMEM; free(mt); |
