summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2024-09-04 07:54:54 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2024-09-04 07:54:54 +0000
commitc08b0d64f93729a6088a731e9e41fda5bec371e1 (patch)
treee09749cad372b028eb5c075077d98bbae8a348bb /sys/uvm
parent92740d6c8077a1465c78e747b508ddbb0d12ab57 (diff)
Fix some spelling.
Input and ok jmc@, jsg@
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_addr.c4
-rw-r--r--sys/uvm/uvm_swap.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/uvm/uvm_addr.c b/sys/uvm/uvm_addr.c
index d022bdf3a3d..d2e8c8d7c11 100644
--- a/sys/uvm/uvm_addr.c
+++ b/sys/uvm/uvm_addr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_addr.c,v 1.36 2024/07/04 04:52:10 jsg Exp $ */
+/* $OpenBSD: uvm_addr.c,v 1.37 2024/09/04 07:54:53 mglocker Exp $ */
/*
* Copyright (c) 2011 Ariane van der Steldt <ariane@stack.nl>
@@ -1076,7 +1076,7 @@ uaddr_pivot_newpivot(struct vm_map *map, struct uaddr_pivot_state *uaddr,
*
* Characteristics of the allocator:
* - best case, an allocation is O(log N)
- * (it would be O(1), if it werent for the need to check if the memory is
+ * (it would be O(1), if it weren't for the need to check if the memory is
* free; although that can be avoided...)
* - worst case, an allocation is O(log N)
* (the uaddr_pivot_newpivot() function has that complexity)
diff --git a/sys/uvm/uvm_swap.c b/sys/uvm/uvm_swap.c
index fc0382fd224..b2df93b7edf 100644
--- a/sys/uvm/uvm_swap.c
+++ b/sys/uvm/uvm_swap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_swap.c,v 1.170 2024/04/16 10:06:37 claudio Exp $ */
+/* $OpenBSD: uvm_swap.c,v 1.171 2024/09/04 07:54:53 mglocker Exp $ */
/* $NetBSD: uvm_swap.c,v 1.40 2000/11/17 11:39:39 mrg Exp $ */
/*
@@ -1520,7 +1520,7 @@ ReTry: /* XXXMRG */
* smaller than the size of a cluster.
*
* As long as some swap slots are being used by pages currently in memory,
- * it is possible to reuse them. Even if the swap space has been completly
+ * it is possible to reuse them. Even if the swap space has been completely
* filled we do not consider it full.
*/
int