aboutsummaryrefslogtreecommitdiffstats
path: root/src/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/serial.c')
-rw-r--r--src/serial.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/serial.c b/src/serial.c
index bc3558a..1592f9e 100644
--- a/src/serial.c
+++ b/src/serial.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.16 2008/03/07 13:16:02 james
+ * *** empty log message ***
+ *
* Revision 1.15 2008/03/07 12:37:04 james
* *** empty log message ***
*
@@ -202,7 +205,7 @@ serial_open (char *path, int lock_mode)
return NULL;
}
- t = (Serial *) malloc (sizeof (Serial));
+ t = (Serial *) xmalloc (sizeof (Serial));
t->lock = l;