summaryrefslogtreecommitdiff
path: root/libc/termios
diff options
context:
space:
mode:
Diffstat (limited to 'libc/termios')
-rw-r--r--libc/termios/tcgetsid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/termios/tcgetsid.c b/libc/termios/tcgetsid.c
index ac7bd0992..8d3a40242 100644
--- a/libc/termios/tcgetsid.c
+++ b/libc/termios/tcgetsid.c
@@ -33,7 +33,7 @@ tcgetsid (int fd)
pid_t pgrp;
pid_t sid;
#ifdef TIOCGSID
- static int tiocgsid_does_not_work;
+ static smallint tiocgsid_does_not_work;
if (! tiocgsid_does_not_work)
{