From 6a87ef244688ee479c16afae9416753d5ccf1367 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 10 May 1996 20:59:41 +0000 Subject: (ethernet_open): Pass in ERRNO to assert_perror. --- pfinet/ethernet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3