bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH,HURD] Fix sgttyb ioctl value


From: Samuel Thibault
Subject: [PATCH,HURD] Fix sgttyb ioctl value
Date: Wed, 2 Nov 2011 00:33:29 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Hello,

Struct sgttyb contains 4 characters, not 6.

Samuel

2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>

* bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.

diff --git a/bits/ioctl-types.h b/bits/ioctl-types.h
index 58b78a6..ccfa4de 100644
--- a/bits/ioctl-types.h
+++ b/bits/ioctl-types.h
@@ -64,7 +64,7 @@ struct sgttyb
 };
 
 #define        _IOT_sgttyb     /* Hurd ioctl type field.  */ \
-  _IOT (_IOTS (char), 6, _IOTS (short int), 1, 0, 0)
+  _IOT (_IOTS (char), 4, _IOTS (short int), 1, 0, 0)
 
 #if defined TIOCGWINSZ || defined TIOCSWINSZ
 /* Type of ARG for TIOCGWINSZ and TIOCSWINSZ requests.  */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]