aboutsummaryrefslogtreecommitdiff
path: root/proc/host.c
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-27 10:38:08 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-28 13:14:29 +0100
commitf0023823ef3282bd3483e6a7aa19b0a0939a6ba4 (patch)
tree7ec906eecfd5f540e4e7810775d760f7d0bced8b /proc/host.c
parent2c9422595f41635e2f4f7ef1afb7eece9001feae (diff)
downloadhurd-f0023823ef3282bd3483e6a7aa19b0a0939a6ba4.tar.gz
hurd-f0023823ef3282bd3483e6a7aa19b0a0939a6ba4.tar.bz2
hurd-f0023823ef3282bd3483e6a7aa19b0a0939a6ba4.zip
proc: store the device master port in _hurd_device_master
* proc/host.c (S_proc_getprivports): Adapt accordingly. * proc/main.c (main): Store the device master port in _hurd_device_master. * proc/proc.h (master_device_port): Remove unused variable.
Diffstat (limited to 'proc/host.c')
-rw-r--r--proc/host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc/host.c b/proc/host.c
index b5c93b47..6841273d 100644
--- a/proc/host.c
+++ b/proc/host.c
@@ -71,7 +71,7 @@ S_proc_getprivports (struct proc *p,
return EPERM;
*hostpriv = _hurd_host_priv;
- *devpriv = master_device_port;
+ *devpriv = _hurd_device_master;
return 0;
}