summaryrefslogtreecommitdiffstats
path: root/external/gard/gard.c
diff options
context:
space:
mode:
Diffstat (limited to 'external/gard/gard.c')
-rw-r--r--external/gard/gard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/gard/gard.c b/external/gard/gard.c
index 5a57415a..d7a0876b 100644
--- a/external/gard/gard.c
+++ b/external/gard/gard.c
@@ -340,9 +340,9 @@ int parse_path(const char *str, struct entity_path *parsed)
return -1;
}
- if (instance > 15 || instance < 0) {
+ if (instance > 255 || instance < 0) {
fprintf(stderr,
- "Instance %ld is invalid. Must be 0 to 15\n",
+ "Instance %ld is invalid. Must be 0 to 255\n",
instance);
return -1;
}
OpenPOWER on IntegriCloud