15 lines
348 B
Diff
15 lines
348 B
Diff
--- origsrc/util-linux-2.32.1/tests/helpers/test_tiocsti.c 2018-06-04 02:57:02.891445100 -0500
|
|
+++ src/util-linux-2.32.1/tests/helpers/test_tiocsti.c 2019-01-01 19:05:38.793054600 -0600
|
|
@@ -21,7 +21,11 @@
|
|
|
|
int main(void)
|
|
{
|
|
+#ifdef TIOCSTI
|
|
char *cmd = "id -u -n\n";
|
|
while(*cmd)
|
|
ioctl(0, TIOCSTI, cmd++);
|
|
+#else
|
|
+ return 77;
|
|
+#endif
|
|
}
|