diff --git a/lib/libmemstat/memstat_malloc.c b/lib/libmemstat/memstat_malloc.c index 9b76d2ccdffe..57e7f5c977af 100644 --- a/lib/libmemstat/memstat_malloc.c +++ b/lib/libmemstat/memstat_malloc.c @@ -80,7 +80,7 @@ retry: return (-1); } if (size != sizeof(maxcpus)) { - fprintf(stderr, "kern.smp.maxcpus: wronge size"); + fprintf(stderr, "kern.smp.maxcpus: wrong size"); errno = EINVAL; return (-1); } @@ -99,7 +99,7 @@ retry: return (-1); } if (size != sizeof(count)) { - fprintf(stderr, "kern.malloc_count: wronge size"); + fprintf(stderr, "kern.malloc_count: wrong size"); errno = EINVAL; return (-1); } diff --git a/lib/libmemstat/memstat_uma.c b/lib/libmemstat/memstat_uma.c index 1fc98f5f8711..8a16f930e010 100644 --- a/lib/libmemstat/memstat_uma.c +++ b/lib/libmemstat/memstat_uma.c @@ -81,7 +81,7 @@ retry: return (-1); } if (size != sizeof(maxcpus)) { - fprintf(stderr, "kern.smp.maxcpus: wronge size"); + fprintf(stderr, "kern.smp.maxcpus: wrong size"); errno = EINVAL; return (-1); } @@ -100,7 +100,7 @@ retry: return (-1); } if (size != sizeof(count)) { - fprintf(stderr, "vm.zone_count: wronge size"); + fprintf(stderr, "vm.zone_count: wrong size"); errno = EINVAL; return (-1); }