diff options
author | Miles Bader <miles@gnu.org> | 1996-05-10 20:59:41 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-05-10 20:59:41 +0000 |
commit | 6a87ef244688ee479c16afae9416753d5ccf1367 (patch) | |
tree | c78beba11a2a36a82944e9d56c6dadbde40d4bcd | |
parent | 1dab89c44e2af391d25f01a235d5f8d5a544fd52 (diff) |
(ethernet_open): Pass in ERRNO to assert_perror.
-rw-r--r-- | pfinet/ethernet.c | 2 |
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); |