From 28885c3f20a38820c8c05d900581d3feb410b36a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 19 May 2004 08:54:28 +0000 Subject: Fix a compile problem --- networking/udhcp/common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'networking/udhcp/common.c') diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c index ce76c516d..c5a24fc62 100644 --- a/networking/udhcp/common.c +++ b/networking/udhcp/common.c @@ -29,7 +29,6 @@ #include #include #include -#include #include #include "common.h" @@ -42,7 +41,7 @@ long uptime(void) { struct sysinfo info; sysinfo(&info); - printf("uptime %d\n", info.uptime); + printf("uptime %ld\n", (long)info.uptime); return info.uptime; } -- cgit v1.2.3