Update of /cvsroot/blob/blob/src/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv20993
Modified Files:
ether.c
Log Message:
Bugfix: return NULL on error.
Index: ether.c
===================================================================
RCS file: /cvsroot/blob/blob/src/lib/ether.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ether.c 4 Sep 2003 18:55:53 -0000 1.4
+++ ether.c 11 Nov 2003 12:45:48 -0000 1.5
@@ -96,7 +96,7 @@
char *ether_get_name(void)
{
- if (!ether_driver) return -EINVAL;
+ if (!ether_driver) return NULL;
return ether_driver->name;
}
|