$NetBSD: patch-fc,v 1.1 2003/06/05 21:29:33 drochner Exp $

--- ksysguard/ksysguardd/NetBSD/netdev.c.orig	2003-06-05 20:10:31.000000000 +0200
+++ ksysguard/ksysguardd/NetBSD/netdev.c	2003-06-05 20:11:08.000000000 +0200
@@ -270,12 +270,12 @@
   NDreg(0);
 }
 
-void updateNetDev(void) {
+int updateNetDev(void) {
   NetDevInfo *p, *q;
   int n;
 
   if (-1==(n = readSys(0)))
-    return;
+    return (0);
 
   NetDevCnt = n;
   /*fixme: assumes the interfaces are in the same order each time */
@@ -290,6 +290,7 @@
 
     }
   }
+	return (0);
 }
 
 void checkNetDev(void) {
