Page MenuHomeFreeBSD

D14674.1775910597.diff
No OneTemporary

Size
445 B
Referenced Files
None
Subscribers
None

D14674.1775910597.diff

Index: head/sys/kern/tty_compat.c
===================================================================
--- head/sys/kern/tty_compat.c
+++ head/sys/kern/tty_compat.c
@@ -262,9 +262,11 @@
fflag, td));
}
- case OTIOCCONS:
- *(int *)data = 1;
- return (tty_ioctl(tp, TIOCCONS, data, fflag, td));
+ case OTIOCCONS: {
+ int one = 1;
+
+ return (tty_ioctl(tp, TIOCCONS, (caddr_t)&one, fflag, td));
+ }
default:
return (ENOIOCTL);

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 11, 12:29 PM (6 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28325031
Default Alt Text
D14674.1775910597.diff (445 B)

Event Timeline