summary refs log tree commit diff
diff options
context:
space:
mode:
authorIlya Yu. Malakhov <malakhov@mcst.ru>2018-10-19 18:06:32 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-10-19 18:06:32 +0200
commitf997b4be18f7e57d757d39e42f7715db26528aa0 (patch)
tree4368f607b25e205725998f650497d784d3806527
parent53b2bb87472138910df47b9bc6c8227e0550a23e (diff)
downloadglibc-f997b4be18f7e57d757d39e42f7715db26528aa0.tar.gz
glibc-f997b4be18f7e57d757d39e42f7715db26528aa0.tar.xz
glibc-f997b4be18f7e57d757d39e42f7715db26528aa0.zip
signal: Use correct type for si_band in siginfo_t [BZ #23562]
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/unix/sysv/linux/bits/types/siginfo_t.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 888fcf419f..6737ba065c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-10-19  Ilya Yu. Malakhov  <malakhov@mcst.ru>
+
+	[BZ #23562]
+	* sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
+	(struct siginfo_t): Use correct type for si_band.
+
 2018-10-19  Florian Weimer  <fweimer@redhat.com>
 
 	[BZ #23689]
diff --git a/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h b/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
index 33766d1813..43c4e009a4 100644
--- a/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
+++ b/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
@@ -107,7 +107,7 @@ typedef struct
 	/* SIGPOLL.  */
 	struct
 	  {
-	    long int si_band;	/* Band event for SIGPOLL.  */
+	    __SI_BAND_TYPE si_band;	/* Band event for SIGPOLL.  */
 	    int si_fd;
 	  } _sigpoll;