aboutsummaryrefslogtreecommitdiff
path: root/slof/fs
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2017-06-06 18:31:41 +0200
committerAlexey Kardashevskiy <aik@ozlabs.ru>2017-06-07 14:22:09 +1000
commit9d5d3b8bd256ac701b0ac0c4059a2b77b6f15912 (patch)
treeda858ecf92e5c9aa7802be85fe734427891ec526 /slof/fs
parentd258260ee4fd48948bb0c61d22ee96b97c934c5e (diff)
downloadSLOF-9d5d3b8bd256ac701b0ac0c4059a2b77b6f15912.zip
SLOF-9d5d3b8bd256ac701b0ac0c4059a2b77b6f15912.tar.gz
SLOF-9d5d3b8bd256ac701b0ac0c4059a2b77b6f15912.tar.bz2
Increase MAX-ALIAS to 10
It's not obvious for the normal user why the alias enumeration should stop at the digit '7' already, so let's allow '8' and '9', too, by bumping the MAX-ALIAS constant to 10. Also remove the unnecessary duplicate of this value from qemu-bootlist.fs. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'slof/fs')
-rw-r--r--slof/fs/node.fs2
1 files changed, 1 insertions, 1 deletions
diff --git a/slof/fs/node.fs b/slof/fs/node.fs
index 22bf77b..3b079e4 100644
--- a/slof/fs/node.fs
+++ b/slof/fs/node.fs
@@ -324,7 +324,7 @@ defer find-node
\ return next available name for aliasing or
\ false if more than MAX-ALIAS aliases found
-8 CONSTANT MAX-ALIAS
+d# 10 CONSTANT MAX-ALIAS
1 VALUE alias-ind
: get-next-alias ( $alias-name -- $next-alias-name|FALSE )
2dup find-alias IF