diff --git a/usr.bin/ipcs/ipcs.c b/usr.bin/ipcs/ipcs.c index cbd010f88bd4..5a1dbb02d67b 100644 --- a/usr.bin/ipcs/ipcs.c +++ b/usr.bin/ipcs/ipcs.c @@ -568,7 +568,7 @@ sysctlgatherstruct(void *addr, size_t size, struct scgs_vector *vecarr) rv = sysctlbyname(xp->sysctl, (char *)addr + xp->offset, &tsiz, NULL, 0); if (rv == -1) - errx(1, "sysctlbyname: %s", xp->sysctl); + err(1, "sysctlbyname: %s", xp->sysctl); if (tsiz != xp->size) errx(1, "%s size mismatch (expected %d, got %d)", xp->sysctl, xp->size, tsiz);