summaryrefslogtreecommitdiff
path: root/pfinet
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet')
-rw-r--r--pfinet/ethernet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/ethernet.c b/pfinet/ethernet.c
index f380f03e..44ed8f39 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 (errno, "creating etherread port");
+ assert_perror ("creating etherread port");
readptname = ports_get_right (readpt);
mach_port_insert_right (mach_task_self (), readptname, readptname,
MACH_MSG_TYPE_MAKE_SEND);