fix the belongs-to test

This commit is contained in:
Olof hagsand 2021-07-08 16:53:45 +02:00
parent 1925ac68cd
commit ed1d5698e8
2 changed files with 2 additions and 2 deletions

View file

@ -1107,7 +1107,7 @@ yang_parse_recurse(clicon_handle h,
goto done;
}
if (strcmp(yang_argument_get(ybelongto), yang_argument_get(yrealmod)) != 0){
clicon_err(OE_YANG, ENOENT, "Sub-module \"%s\" references module \"%s\" in its belongs-to statement but should reference %s",
clicon_err(OE_YANG, ENOENT, "Sub-module \"%s\" references module \"%s\" in its belongs-to statement but should reference \"%s\"",
submodule,
yang_argument_get(ybelongto),
yang_argument_get(yrealmod));