Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-05-19 12:54:28 +0400
committerEric Andersen <andersen@codepoet.org>2004-05-19 12:54:28 +0400
commit28885c3f20a38820c8c05d900581d3feb410b36a (patch)
tree3b44974c3b3acd8ec36622a4d5d3d66dace492ee /networking
parent309c7b71e66f45225f369591caf2441bfa2d1670 (diff)
Fix a compile problem
Diffstat (limited to 'networking')
-rw-r--r--networking/udhcp/common.c3
1 files changed, 1 insertions, 2 deletions
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 <signal.h>
#include <paths.h>
#include <sys/socket.h>
-#include <sys/sysinfo.h>
#include <stdarg.h>
#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;
}