about summary refs log tree commit diff
path: root/hurd/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-04 01:35:12 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-04 01:35:38 +0100
commit48d34cbc234ce21c79316dc7de9c27207903c220 (patch)
tree6e4ce780efe39ead590c4e3188f4016e96aeada7 /hurd/hurd
parent3403cb7dd4ce1e36802f448ecba2bccc6706e73e (diff)
downloadglibc-48d34cbc234ce21c79316dc7de9c27207903c220.tar.gz
glibc-48d34cbc234ce21c79316dc7de9c27207903c220.tar.xz
glibc-48d34cbc234ce21c79316dc7de9c27207903c220.zip
hurd: fix header conformity
	* hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
	trivial, for C++ conformity.
Diffstat (limited to 'hurd/hurd')
-rw-r--r--hurd/hurd/fd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurd/fd.h b/hurd/hurd/fd.h
index 22dc944dce..5d51c11e6a 100644
--- a/hurd/hurd/fd.h
+++ b/hurd/hurd/fd.h
@@ -179,7 +179,7 @@ _hurd_fd_error (int fd, error_t err)
   if (signo)
     {
       const struct hurd_signal_detail detail
-	= { code: fd, error: err, exc: 0 };
+	= { exc: 0, exc_code: 0, exc_subcode: 0, code: fd, error: err };
       _hurd_raise_signal (NULL, signo, &detail);
     }
   return err;