summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-03-19 12:13:57 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-03-21 13:45:24 +0100
commit08814fc43536cb801b1db0c548bcc19b67b19dd4 (patch)
treea3fbbc75beb23b4fa71c4fcb8a6afb56eb416da3
parent7b054153eccbf0843fbbfb131855f56ea5c695e0 (diff)
libpager: fix comment of pager_change_attributes
* libpager/pager-attr.c: Fix comment. * libpager/pager.h: Likewise.
-rw-r--r--libpager/pager-attr.c6
-rw-r--r--libpager/pager.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/libpager/pager-attr.c b/libpager/pager-attr.c
index 7629f1dc..47da12ac 100644
--- a/libpager/pager-attr.c
+++ b/libpager/pager-attr.c
@@ -19,9 +19,9 @@
#include <assert.h>
/* Change the attributes of the memory object underlying pager P.
- Args MAY_CACHE and COPY_STRATEGY are as for
- memory_object_change_atributes. Wait for the kernel to report completion
- off WAIT is set.*/
+ Arguments MAY_CACHE and COPY_STRATEGY are as for
+ memory_object_change_atributes. Wait for the kernel to report
+ completion if WAIT is set. */
void
pager_change_attributes (struct pager *p,
boolean_t may_cache,
diff --git a/libpager/pager.h b/libpager/pager.h
index 75ff108a..d0572af1 100644
--- a/libpager/pager.h
+++ b/libpager/pager.h
@@ -111,9 +111,9 @@ pager_offer_page (struct pager *pager,
vm_address_t buf);
/* Change the attributes of the memory object underlying pager PAGER.
- Args MAY_CACHE and COPY_STRATEGY are as for
- memory_object_change_atributes. Wait for the kernel to report completion
- off WAIT is set.*/
+ Arguments MAY_CACHE and COPY_STRATEGY are as for
+ memory_object_change_atributes. Wait for the kernel to report
+ completion if WAIT is set. */
void
pager_change_attributes (struct pager *pager,
boolean_t may_cache,