diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-04-02 12:38:07 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-04-02 12:38:07 -0700 |
commit | 2b7fbca1d47ee1a5df2a44eda597852391f8c5c7 (patch) | |
tree | f86b1916c9625415e264553bad31a9e5b48a7632 /src/property | |
parent | 1856ff63a32e50f4074c7808339b6262c603be5d (diff) | |
download | consfigurator-2b7fbca1d47ee1a5df2a44eda597852391f8c5c7.tar.gz |
SWAP:HAS-SWAP-FILE: use &key not &optional for LOCATION parameter
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property')
-rw-r--r-- | src/property/swap.lisp | 3 |
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}") |