projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
309c7b7
)
Fix a compile problem
author
Eric Andersen
<andersen@codepoet.org>
Wed, 19 May 2004 08:54:28 +0000
(08:54 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Wed, 19 May 2004 08:54:28 +0000
(08:54 -0000)
networking/udhcp/common.c
patch
|
blob
|
history
diff --git
a/networking/udhcp/common.c
b/networking/udhcp/common.c
index ce76c516d963f11963f6bdeb7d62b0c306cffcb8..c5a24fc62f9af65eda728dac88e0e856ddbe48d6 100644
(file)
--- 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;
}