Skip to content

Commit 8190ada

Browse files
committed
yangupdate BUGFIX wrong var used
1 parent 0ccc71a commit 8190ada

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/update/yang_update.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ yu_plg_collect_new(const struct ly_ctx *ctx, const char *mod_name, const char *r
334334
}
335335

336336
/* add a plugin */
337-
LY_CHECK_GOTO(rc = yu_plg_add(lyu_plugins[i], orig_plg_count, plgs, plg_count), cleanup);
337+
LY_CHECK_GOTO(rc = yu_plg_add(plg, orig_plg_count, plgs, plg_count), cleanup);
338338

339339
/* continue search from the end */
340340
rev = (*plgs)[*plg_count - 1]->revision_old;

0 commit comments

Comments
 (0)