summaryrefslogtreecommitdiffstats
path: root/compat/forkpty-sunos.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2011-01-10 22:45:10 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2011-01-10 22:45:10 +0000
commitabd1f615b2413f17fdc447cba10f8764a1eb5f08 (patch)
tree5c7e517fd56b8b430d430c6cc94ddea5e9286bf0 /compat/forkpty-sunos.c
parenta7b6445cc39983fb33466529a904fe749d3d6885 (diff)
Trim spaces.
Diffstat (limited to 'compat/forkpty-sunos.c')
-rw-r--r--compat/forkpty-sunos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/forkpty-sunos.c b/compat/forkpty-sunos.c
index 67d8a029..66319892 100644
--- a/compat/forkpty-sunos.c
+++ b/compat/forkpty-sunos.c
@@ -1,4 +1,4 @@
-/* $Id: forkpty-sunos.c,v 1.9 2009-10-15 07:11:25 nicm Exp $ */
+/* $Id: forkpty-sunos.c,v 1.10 2011-01-10 22:45:10 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -73,7 +73,7 @@ forkpty(int *master, char *name, struct termios *tio, struct winsize *ws)
dup2(slave, 1);
dup2(slave, 2);
if (slave > 2)
- close(slave);
+ close(slave);
return (0);
}