summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d93c0d6)
raw | patch | inline | side by side (parent: d93c0d6)
author | Daniel Leite <dleite@portoeditora.pt> | |
Thu, 21 Jun 2007 08:38:24 +0000 (10:38 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 21 Jun 2007 08:38:24 +0000 (10:38 +0200) |
src/cpu.c | patch | blob | history | |
src/interface.c | patch | blob | history |
diff --git a/src/cpu.c b/src/cpu.c
index 4c852a53fea2405d66a3ec6a92829d5ea20aebb6..cbdde1ec8d24ee5d205ed60f413d3b8466e24e89 100644 (file)
--- a/src/cpu.c
+++ b/src/cpu.c
static cpu_stat_t cs;
if (kc == NULL)
- return;
+ return (-1);
for (cpu = 0; cpu < numcpu; cpu++)
{
diff --git a/src/interface.c b/src/interface.c
index c439ebd60e8625b1bae55ea63b7dd479e018eb70..52b2ddf0866f07f10abbfb8fb13a16a13b60e7c5 100644 (file)
--- a/src/interface.c
+++ b/src/interface.c
unsigned long long tx;
if (kc == NULL)
- return;
+ return (-1);
for (i = 0; i < numif; i++)
{