aboutsummaryrefslogtreecommitdiffstats
path: root/src/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 3e2cc64..c6c581c 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -11,6 +11,9 @@ static char rcsid[] =
/*
* $Log$
+ * Revision 1.17 2008/03/07 13:16:02 james
+ * *** empty log message ***
+ *
* Revision 1.16 2008/03/07 12:42:08 james
* *** empty log message ***
*
@@ -278,7 +281,7 @@ terminal_open (int rfd, int wfd)
pid_t child;
struct termios termios;
- t = (TERMINAL *) malloc (sizeof (TERMINAL));
+ t = (TERMINAL *) xmalloc (sizeof (TERMINAL));
strcpy (t->name, "terminal");
t->rfd = rfd;