summaryrefslogtreecommitdiffstats
path: root/cpukit/pppd/utils.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/pppd/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/pppd/utils.c b/cpukit/pppd/utils.c
index 9a1932c867..5ee0fbe551 100644
--- a/cpukit/pppd/utils.c
+++ b/cpukit/pppd/utils.c
@@ -107,7 +107,7 @@ vslprintf(buf, buflen, fmt, args)
unsigned char *p;
char num[32];
time_t t;
- u_int32_t ip;
+ uint32_t ip;
static char hexchars[] = "0123456789abcdef";
struct buffer_info bufinfo;
@@ -197,7 +197,7 @@ vslprintf(buf, buflen, fmt, args)
str = strerror(errno);
break;
case 'I':
- ip = va_arg(args, u_int32_t);
+ ip = va_arg(args, uint32_t);
ip = ntohl(ip);
slprintf(num, sizeof(num), "%d.%d.%d.%d", (ip >> 24) & 0xff,
(ip >> 16) & 0xff, (ip >> 8) & 0xff, ip & 0xff);