summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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..f380f03e 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, "creating etherread port");
readptname = ports_get_right (readpt);
mach_port_insert_right (mach_task_self (), readptname, readptname,
MACH_MSG_TYPE_MAKE_SEND);