aboutsummaryrefslogtreecommitdiff
path: root/src/property/swap.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/property/swap.lisp')
-rw-r--r--src/property/swap.lisp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/property/swap.lisp b/src/property/swap.lisp
index 4c89657..d712d32 100644
--- a/src/property/swap.lisp
+++ b/src/property/swap.lisp
@@ -30,8 +30,7 @@
(mrun :may-fail "swapoff" location)
(delete-remote-trees location)))
-(defproplist has-swap-file :posix
- (size &optional (location #P"/var/lib/swapfile"))
+(defproplist has-swap-file :posix (size &key (location #P"/var/lib/swapfile"))
"Add a swap file. SIZE is the -l argument to fallocate(1).
Current implementation assumes a non-CoW filesystem; see NOTES in swapon(8)."
(:desc #?"Has swapfile of size ${size}")