summaryrefslogtreecommitdiff
path: root/sysutils/strace/patches/patch-az
blob: 624cebc20caaeb088b884acc1c5085cb6d26af18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-az,v 1.1 2007/04/27 19:45:03 christos Exp $

--- term.c.orig	2005-06-01 15:02:38.000000000 -0400
+++ term.c	2007-04-27 11:31:51.000000000 -0400
@@ -184,7 +184,7 @@
 long code, arg;
 {
 	struct termios tios;
-#ifndef FREEBSD
+#ifndef ALLBSD
 	struct termio tio;
 #else
 	#define TCGETS	TIOCGETA
@@ -216,7 +216,7 @@
 			return 0;
 		if (abbrev(tcp)) {
 			tprintf(", {");
-#ifndef FREEBSD
+#ifndef ALLBSD
 			printxval(baud_options, tios.c_cflag & CBAUD, "B???");
 #else
 			printxval(baud_options, tios.c_ispeed, "B???");
@@ -237,7 +237,7 @@
 			(long) tios.c_iflag, (long) tios.c_oflag);
 		tprintf("c_cflags=%#lx, c_lflags=%#lx, ",
 			(long) tios.c_cflag, (long) tios.c_lflag);
-#if !defined(SVR4) && !defined(FREEBSD)
+#if !defined(SVR4) && !defined(ALLBSD)
 		tprintf("c_line=%u, ", tios.c_line);
 #endif
 		if (!(tios.c_lflag & ICANON))