summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libmemstat/memstat_malloc.c4
-rw-r--r--lib/libmemstat/memstat_uma.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libmemstat/memstat_malloc.c b/lib/libmemstat/memstat_malloc.c
index 9b76d2c..57e7f5c 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 1fc98f5..8a16f93 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);
}
OpenPOWER on IntegriCloud