Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103564306
D14674.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
445 B
Referenced Files
None
Subscribers
None
D14674.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 27, 2:04 PM (21 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14886452
Default Alt Text
D14674.diff (445 B)
Attached To
Mode
D14674: Use the stack for temporary storage in OTIOCCONS.
Attached
Detach File
Event Timeline
Log In to Comment