summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-02 04:14:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-02 04:14:14 +0000
commita7559b6d75a9ce2634f22f163f9c56f4748363c0 (patch)
tree45d63c35bd31f65555bc0a0d4efa2a9b773b3cca /sys/uvm
parentc6c1286151f06d0a0ac3ea41991f6edfae87c727 (diff)
fix some comments
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_swap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_swap.c b/sys/uvm/uvm_swap.c
index 1b2fd56bde5..202e699dde2 100644
--- a/sys/uvm/uvm_swap.c
+++ b/sys/uvm/uvm_swap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_swap.c,v 1.116 2013/11/02 00:08:17 krw Exp $ */
+/* $OpenBSD: uvm_swap.c,v 1.117 2013/11/02 04:14:13 deraadt Exp $ */
/* $NetBSD: uvm_swap.c,v 1.40 2000/11/17 11:39:39 mrg Exp $ */
/*
@@ -129,8 +129,8 @@ struct swapdev {
#define swd_dev swd_se.se_dev /* device id */
#define swd_flags swd_se.se_flags /* flags:inuse/enable/fake */
#define swd_priority swd_se.se_priority /* our priority */
-#define swd_inuse swd_se.se_inuse /* our priority */
-#define swd_nblks swd_se.se_nblks /* our priority */
+#define swd_inuse swd_se.se_inuse /* blocks used */
+#define swd_nblks swd_se.se_nblks /* total blocks */
char *swd_path; /* saved pathname of device */
int swd_pathlen; /* length of pathname */
int swd_npages; /* #pages we can use */