[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/2] libpager: fix comment of pager_change_attributes
From: |
Justus Winter |
Subject: |
[PATCH 1/2] libpager: fix comment of pager_change_attributes |
Date: |
Fri, 21 Mar 2014 13:57:52 +0100 |
* libpager/pager-attr.c: Fix comment.
* libpager/pager.h: Likewise.
---
libpager/pager-attr.c | 6 +++---
libpager/pager.h | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/libpager/pager-attr.c b/libpager/pager-attr.c
index 7629f1d..47da12a 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 75ff108..d0572af 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,
--
1.9.0