summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/newconfig/config.g2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/newconfig/config.g b/util/newconfig/config.g
index 5bec889092..8b356c8af5 100644
--- a/util/newconfig/config.g
+++ b/util/newconfig/config.g
@@ -628,7 +628,7 @@ class partobj:
self.path = ""
# Link from parent device
- if ((link < 0) or (link > 2)):
+ if ((link < 0) or (link > 16)):
fatal("Invalid link")
self.link = link