aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-08-01 02:41:04 +0000
committerRoland McGrath <roland@gnu.org>1999-08-01 02:41:04 +0000
commita606ab4c89b2dd2352a693e663321fee0d48bc67 (patch)
tree31e9b4b725e14dcbbb56a2be31f68c17cc745ecc
parent8685bf1336f88f94337a7476d185f46f7a38591c (diff)
downloadglibc-a606ab4c89b2dd2352a693e663321fee0d48bc67.zip
glibc-a606ab4c89b2dd2352a693e663321fee0d48bc67.tar.gz
glibc-a606ab4c89b2dd2352a693e663321fee0d48bc67.tar.bz2
1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member initializer in CHECK: a bit size, not the type code repeated!
-rw-r--r--hurd/intr-msg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hurd/intr-msg.c b/hurd/intr-msg.c
index c7c45e7..2efde2c 100644
--- a/hurd/intr-msg.c
+++ b/hurd/intr-msg.c
@@ -1,5 +1,5 @@
/* Replacement for mach_msg used in interruptible Hurd RPCs.
- Copyright (C) 95, 96, 97, 98 Free Software Foundation, Inc.
+ Copyright (C) 95, 96, 97, 98, 99 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -141,11 +141,11 @@ _hurd_intr_rpc_mach_msg (mach_msg_header_t *msg,
const union
{
mach_msg_type_t t;
- int i;
+ integer_t i;
} check =
{ t: {
MACH_MSG_TYPE_INTEGER_T,
- MACH_MSG_TYPE_INTEGER_T,
+ sizeof (integer_t) * 8,
1,
TRUE,
FALSE,