Oops, the last fix (SYS_NMLN) make a segfault! Backing up. Will find another solution for the SYS_NMLN problem.
This commit is contained in:
@@ -32,8 +32,8 @@
|
|||||||
int TwentyFourHour = 1;
|
int TwentyFourHour = 1;
|
||||||
int uptime_fd = 0;
|
int uptime_fd = 0;
|
||||||
|
|
||||||
static char *kver;
|
static char kver[SYS_NMLN];
|
||||||
static char *sysname;
|
static char sysname[SYS_NMLN];
|
||||||
|
|
||||||
static double get_uptime (double *up, double *idle);
|
static double get_uptime (double *up, double *idle);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user