summaryrefslogtreecommitdiffstats
path: root/bin/pax/tty_subs.c
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-04-26 09:22:28 +0000
committerkris <kris@FreeBSD.org>2001-04-26 09:22:28 +0000
commitf94a8fb47c29e9bfcd6c630a381d671b1670b986 (patch)
tree62d348421154571eb4d0094e18b9a5067218d852 /bin/pax/tty_subs.c
parent87160071b6b87e996f79019f5af6d0633b727761 (diff)
downloadFreeBSD-src-f94a8fb47c29e9bfcd6c630a381d671b1670b986.zip
FreeBSD-src-f94a8fb47c29e9bfcd6c630a381d671b1670b986.tar.gz
Whitespace cleanup pass; reduce diffs with OpenBSD. No functional changes.
Diffstat (limited to 'bin/pax/tty_subs.c')
-rw-r--r--bin/pax/tty_subs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pax/tty_subs.c b/bin/pax/tty_subs.c
index f4df265..9d8763e 100644
--- a/bin/pax/tty_subs.c
+++ b/bin/pax/tty_subs.c
@@ -62,7 +62,7 @@ static const char rcsid[] =
* routines that deal with I/O to and from the user
*/
-#define DEVTTY "/dev/tty" /* device for interactive i/o */
+#define DEVTTY "/dev/tty" /* device for interactive i/o */
static FILE *ttyoutf = NULL; /* output pointing at control tty */
static FILE *ttyinf = NULL; /* input pointing at control tty */
@@ -82,7 +82,7 @@ tty_init()
{
int ttyfd;
- if ((ttyfd = open(DEVTTY, O_RDWR)) >= 0) {
+ if ((ttyfd = open(DEVTTY, O_RDWR)) >= 0) {
if ((ttyoutf = fdopen(ttyfd, "w")) != NULL) {
if ((ttyinf = fdopen(ttyfd, "r")) != NULL)
return(0);
OpenPOWER on IntegriCloud