Removed 1 g_return_*.

* glibtop_private.c: (read_boot_time):

	Removed 1 g_return_*.
This commit is contained in:
Benoît Dejean
2005-10-29 19:23:50 +00:00
parent 4186c9a956
commit ac3ad6d2aa
2 changed files with 10 additions and 1 deletions

View File

@@ -109,7 +109,10 @@ read_boot_time(glibtop *server)
btime = strstr(buffer, "btime");
g_return_val_if_fail(btime != NULL, 0UL);
if (!btime) {
glibtop_warn_io_r(server, "cannot find btime in /proc/stat");
return 0UL;
}
btime = skip_token(btime);
return strtoul(btime, NULL, 10);