Browse Source

Reduce message about too-long property names to a mere warning, it causes

too much trouble.  Still need to fix up error handling in general.
main
David Gibson 20 years ago
parent
commit
cba839c728
  1. 4
      livetree.c

4
livetree.c

@ -262,8 +262,8 @@ static int check_properties(struct node *node) @@ -262,8 +262,8 @@ static int check_properties(struct node *node)

/* check name length */
if (strlen(prop->name) > MAX_PROPNAME_LEN)
DO_ERR("Property name %s is too long in %s\n",
prop->name, node->fullpath);
WARNMSG("Property name %s is too long in %s\n",
prop->name, node->fullpath);
/* check this property */
for (i = 0; i < ARRAY_SIZE(prop_checker_table); i++) {

Loading…
Cancel
Save