From 48ca48182fd2e0195b14d3d8ba7e0034743cec06 Mon Sep 17 00:00:00 2001 From: gfk Date: Wed, 24 Oct 2001 20:39:37 +0000 Subject: [PATCH] Oops, the last fix (SYS_NMLN) make a segfault! Backing up. Will find another solution for the SYS_NMLN problem. --- clients/lcdproc/chrono.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/lcdproc/chrono.c b/clients/lcdproc/chrono.c index 021155f..360f874 100644 --- a/clients/lcdproc/chrono.c +++ b/clients/lcdproc/chrono.c @@ -32,8 +32,8 @@ int TwentyFourHour = 1; int uptime_fd = 0; -static char *kver; -static char *sysname; +static char kver[SYS_NMLN]; +static char sysname[SYS_NMLN]; static double get_uptime (double *up, double *idle);