From: Todd C. Miller Date: Wed, 16 May 2018 16:15:15 +0000 (-0600) Subject: Fix format string mismatch, sudo_order is unsigned. X-Git-Tag: SUDO_1_8_24^2~76 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2102800824220df20ab537c8a0db89c2d250e10e;p=sudo Fix format string mismatch, sudo_order is unsigned. --- diff --git a/plugins/sudoers/cvtsudoers_ldif.c b/plugins/sudoers/cvtsudoers_ldif.c index e362e6e41..39f9015c9 100644 --- a/plugins/sudoers/cvtsudoers_ldif.c +++ b/plugins/sudoers/cvtsudoers_ldif.c @@ -447,7 +447,7 @@ print_userspec_ldif(FILE *fp, struct userspec *us, struct cvtsudoers_config *con print_cmndspec_ldif(fp, cs, &next, &priv->defaults); if (conf->sudo_order != 0) { - fprintf(fp, "sudoOrder: %d\n\n", conf->sudo_order); + fprintf(fp, "sudoOrder: %u\n\n", conf->sudo_order); conf->sudo_order += conf->order_increment; } }