diff options
author | Russ Dill <Russ.Dill@asu.edu> | 2004-05-19 09:18:04 +0000 |
---|---|---|
committer | Russ Dill <Russ.Dill@asu.edu> | 2004-05-19 09:18:04 +0000 |
commit | 5c9323f4e6d5e1c619ff3ea0b30bf5e8e3a2b87a (patch) | |
tree | 74df732b5d742bda9f7828d2447b2f560009d1fb /networking | |
parent | 256c4fd587691076846383ab8b207b07cd5614e4 (diff) | |
download | busybox-5c9323f4e6d5e1c619ff3ea0b30bf5e8e3a2b87a.tar.gz |
use busybox sysinfo struct
Diffstat (limited to 'networking')
-rw-r--r-- | networking/udhcp/common.c | 1 | ||||
-rw-r--r-- | networking/udhcp/libbb_udhcp.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c index c5a24fc62..bf2ac4417 100644 --- a/networking/udhcp/common.c +++ b/networking/udhcp/common.c @@ -41,7 +41,6 @@ long uptime(void) { struct sysinfo info; sysinfo(&info); - printf("uptime %ld\n", (long)info.uptime); return info.uptime; } diff --git a/networking/udhcp/libbb_udhcp.h b/networking/udhcp/libbb_udhcp.h index ee85b156f..51e157142 100644 --- a/networking/udhcp/libbb_udhcp.h +++ b/networking/udhcp/libbb_udhcp.h @@ -31,6 +31,7 @@ #include <stdlib.h> #include <stdio.h> +#include <sys/sysinfo.h> #define TRUE 1 #define FALSE 0 |