]> granicus.if.org Git - sudo/commitdiff
Quiet a compiler warning.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 6 Mar 2013 21:50:35 +0000 (16:50 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 6 Mar 2013 21:50:35 +0000 (16:50 -0500)
plugins/sudoers/parse.c

index f2646ae7d48b46116b61eb01450a67821cb7bcd0..fc8fa52b2a9024f9416861a540a749eb38c03b1e 100644 (file)
@@ -757,7 +757,7 @@ _print_member(struct lbuf *lbuf, char *name, int type, int negated,
            if ((a = alias_find(name, alias_type)) != NULL) {
                tq_foreach_fwd(&a->members, m) {
                    if (m != tq_first(&a->members))
-                       lbuf_append(lbuf, separator);
+                       lbuf_append(lbuf, "%s", separator);
                    _print_member(lbuf, m->name, m->type,
                        negated ? !m->negated : m->negated, separator,
                        alias_type);