summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-05 20:44:03 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-05 20:44:03 +0000
commit9c84384cc18ff589233628c193953ca8d7a39f5c (patch)
tree95d1f5aee409b208db7545d678012eeae9559fae /hurd
parent5556231db2301917cd14a7450de4eba2368c9763 (diff)
Remove trailing whitespace.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurdmsg.c2
-rw-r--r--hurd/new-fd.c2
-rw-r--r--hurd/ports-get.c2
3 files changed, 3 insertions, 3 deletions
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));