X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Futils.c;h=f305ea339903501ee95a36aa57f70ea1ed8af874;hp=e873ed65244f6fd2a55f80f2166edb0189dd604c;hb=b18e8ba1f8883d9558a7dcbef89e632a02a4071e;hpb=8b1746de3266dccf31aaa6f97f5948a137c92324 diff --git a/pppd/utils.c b/pppd/utils.c index e873ed6..f305ea3 100644 --- a/pppd/utils.c +++ b/pppd/utils.c @@ -17,7 +17,7 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#define RCSID "$Id: utils.c,v 1.12 2001/03/12 22:56:45 paulus Exp $" +#define RCSID "$Id: utils.c,v 1.13 2001/03/16 02:08:13 paulus Exp $" #include #include @@ -215,6 +215,10 @@ vslprintf(buf, buflen, fmt, args) val = i; base = 10; break; + case 'u': + val = va_arg(args, unsigned int); + base = 10; + break; case 'o': val = va_arg(args, unsigned int); base = 8;