yang printer BUGFIX list with must
diff --git a/src/printer_yang.c b/src/printer_yang.c
index 5d58e71..68c4b48 100644
--- a/src/printer_yang.c
+++ b/src/printer_yang.c
@@ -1602,7 +1602,7 @@
     yprp_node_common1(ctx, node, &flag);
 
     LY_ARRAY_FOR(list->musts, u) {
-        yprp_restr(ctx, &list->musts[u], "must", NULL);
+        yprp_restr(ctx, &list->musts[u], "must", &flag);
     }
     if (list->key) {
         ypr_open(ctx->out, &flag);