Skip to content
Snippets Groups Projects
Commit c5c15326 authored by Samuel Thibault's avatar Samuel Thibault
Browse files

hurd tiocflush: Fix fix.

parent 06c6918f
No related branches found
No related tags found
No related merge requests found
......@@ -20,8 +20,8 @@ index 662e8ee919..0d5bc176d1 100644
void *argptr = arg;
+ int zero = 0;
+
+ if (request == TIOCFLUSH && !arg)
+ arg = &zero;
+ if (request == TIOCFLUSH && !argptr)
+ argptr = &zero;
/* Pack an argument into the message buffer. */
void in (unsigned int count, enum __ioctl_datum type)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment