From 9c84384cc18ff589233628c193953ca8d7a39f5c Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 5 Jun 2013 20:44:03 +0000 Subject: Remove trailing whitespace. --- hurd/hurdmsg.c | 2 +- hurd/new-fd.c | 2 +- hurd/ports-get.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'hurd') diff --git a/hurd/hurdmsg.c b/hurd/hurdmsg.c index b4b7161977..6e350eeabe 100644 --- a/hurd/hurdmsg.c +++ b/hurd/hurdmsg.c @@ -324,7 +324,7 @@ _S_msg_get_env_variable (mach_port_t msgport, valuelen = strlen (value); if (valuelen > *datalen) { - if (err = __vm_allocate (__mach_task_self (), + if (err = __vm_allocate (__mach_task_self (), (vm_address_t *) data, valuelen, 1)) return err; } diff --git a/hurd/new-fd.c b/hurd/new-fd.c index e5220560a1..32c72522dd 100644 --- a/hurd/new-fd.c +++ b/hurd/new-fd.c @@ -32,7 +32,7 @@ _hurd_new_fd (io_t port, io_t ctty) /* Initialize the port cells. */ _hurd_port_init (&d->port, port); _hurd_port_init (&d->ctty, ctty); - + /* And the fcntl flags. */ d->flags = 0; } diff --git a/hurd/ports-get.c b/hurd/ports-get.c index 7d6be6ed98..a4495a605e 100644 --- a/hurd/ports-get.c +++ b/hurd/ports-get.c @@ -37,7 +37,7 @@ _hurd_ports_get (unsigned int which, mach_port_t *result) return EINVAL; if (which >= INIT_PORT_MAX || _hurd_ports_getters[which] == NULL) return HURD_PORT_USE (&_hurd_ports[which], - (*result = port) == MACH_PORT_NULL ? 0 + (*result = port) == MACH_PORT_NULL ? 0 : __mach_port_mod_refs (__mach_task_self (), port, MACH_PORT_RIGHT_SEND, +1)); -- cgit v1.2.3