diff options
Diffstat (limited to 'plugins/sysinfo/unix/parse.c')
-rw-r--r-- | plugins/sysinfo/unix/parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sysinfo/unix/parse.c b/plugins/sysinfo/unix/parse.c index 9f03533d..0ca140de 100644 --- a/plugins/sysinfo/unix/parse.c +++ b/plugins/sysinfo/unix/parse.c @@ -107,10 +107,10 @@ int xs_parse_cpu(char *model, char *vendor, double *freq) return 0; } -guint64 xs_parse_uptime(void) +gint64 xs_parse_uptime(void) { char buffer[bsize]; - guint64 uptime = 0; + gint64 uptime = 0; FILE *fp = fopen("/proc/uptime", "r"); if(fp == NULL) return 0; |