summaryrefslogtreecommitdiff
path: root/pfinet/ethernet.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-14 18:58:57 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-14 18:58:57 +0000
commitec2589be7ca8b988c0d3e9ff989a8f71ccf6c0b1 (patch)
treeb926d07c6bed897b36dd5835747ef07641da7f47 /pfinet/ethernet.c
parent2a311ed599fb4ea7c94152a733d77809ed93b623 (diff)
(ethernet_open): fixup again.
Diffstat (limited to 'pfinet/ethernet.c')
-rw-r--r--pfinet/ethernet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/ethernet.c b/pfinet/ethernet.c
index 44ed8f39..1048fabf 100644
--- a/pfinet/ethernet.c
+++ b/pfinet/ethernet.c
@@ -144,7 +144,7 @@ ethernet_open (struct device *dev)
etherreadclass = ports_create_class (0, 0);
errno = ports_create_port (etherreadclass, etherport_bucket,
sizeof (struct port_info), &readpt);
- assert_perror ("creating etherread port");
+ assert_perror (errno);
readptname = ports_get_right (readpt);
mach_port_insert_right (mach_task_self (), readptname, readptname,
MACH_MSG_TYPE_MAKE_SEND);