[BusyBox-cvs] busybox/networking/udhcp common.c,1.9,1.10
Erik Andersen,,,
andersen at busybox.net
Wed May 19 08:54:30 UTC 2004
- Previous message: [BusyBox-cvs] busybox/networking/udhcp arpping.c, 1.7, 1.8 common.c, 1.8, 1.9 common.h, 1.4, 1.5 dhcpc.c, 1.17, 1.18
- Next message: [BusyBox-cvs] busybox/util-linux fdisk.c,1.22,1.23
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/busybox/networking/udhcp
In directory nail:/tmp/cvs-serv28034/networking/udhcp
Modified Files:
common.c
Log Message:
Fix a compile problem
Index: common.c
===================================================================
RCS file: /var/cvs/busybox/networking/udhcp/common.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- a/common.c 19 May 2004 08:29:05 -0000 1.9
+++ b/common.c 19 May 2004 08:54:28 -0000 1.10
@@ -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 @@
{
struct sysinfo info;
sysinfo(&info);
- printf("uptime %d\n", info.uptime);
+ printf("uptime %ld\n", (long)info.uptime);
return info.uptime;
}
- Previous message: [BusyBox-cvs] busybox/networking/udhcp arpping.c, 1.7, 1.8 common.c, 1.8, 1.9 common.h, 1.4, 1.5 dhcpc.c, 1.17, 1.18
- Next message: [BusyBox-cvs] busybox/util-linux fdisk.c,1.22,1.23
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the busybox-cvs
mailing list