X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Futils.c;h=eb771a540c118cad770548a64b9cadfa61f85211;hb=c44ae5e6a7338c96eb463881fe709b2dfaffe568;hp=5c9ba6437757d6d4a679c2e0f642f65020ef8368;hpb=04c4348108d847e034dd91066cc6843f60d71731;p=ppp.git diff --git a/pppd/utils.c b/pppd/utils.c index 5c9ba64..eb771a5 100644 --- a/pppd/utils.c +++ b/pppd/utils.c @@ -652,10 +652,9 @@ logit(level, fmt, args) char *fmt; va_list args; { - int n; char buf[1024]; - n = vslprintf(buf, sizeof(buf), fmt, args); + vslprintf(buf, sizeof(buf), fmt, args); log_write(level, buf); }