commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 32/43: eth-multiplexer: Fix type check.


From: Samuel Thibault
Subject: [hurd] 32/43: eth-multiplexer: Fix type check.
Date: Mon, 11 Sep 2017 07:10:11 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 477b739fdff7b205b1b6066a2685c0924fc0ea9f
Author: Justus Winter <address@hidden>
Date:   Thu Aug 24 11:07:32 2017 +0200

    eth-multiplexer: Fix type check.
    
    * eth-multiplexer/device_impl.c (ds_device_open): Check the port
    class.
---
 eth-multiplexer/device_impl.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eth-multiplexer/device_impl.c b/eth-multiplexer/device_impl.c
index f23738a..d7c8bee 100644
--- a/eth-multiplexer/device_impl.c
+++ b/eth-multiplexer/device_impl.c
@@ -51,7 +51,8 @@ ds_device_open (mach_port_t master_port, mach_port_t 
reply_port,
                mach_msg_type_name_t *devicetype)
 {
   struct vether_device *dev;
-  struct protid *pi = ports_lookup_port (netfs_port_bucket, master_port, 0);
+  struct protid *pi = ports_lookup_port (netfs_port_bucket, master_port,
+                                         netfs_protid_class);
   if (pi == NULL)
     return D_NO_SUCH_DEVICE;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]