aboutsummaryrefslogtreecommitdiffstats
path: root/src/ptty.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ptty.c')
-rw-r--r--src/ptty.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ptty.c b/src/ptty.c
index 5f4651d..393eab6 100644
--- a/src/ptty.c
+++ b/src/ptty.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.20 2008/03/07 13:16:02 james
+ * *** empty log message ***
+ *
* Revision 1.19 2008/03/07 12:37:04 james
* *** empty log message ***
*
@@ -203,7 +206,7 @@ ptty_open (char *path, char *argv[], CRT_Pos * size)
}
#endif
- t = (PTTY *) malloc (sizeof (PTTY));
+ t = (PTTY *) xmalloc (sizeof (PTTY));
strncpy (t->name, name, sizeof (t->name));
t->name[sizeof (t->name) - 1] = 0;