summaryrefslogtreecommitdiffstats
path: root/ax25/axspawn.c
diff options
context:
space:
mode:
Diffstat (limited to 'ax25/axspawn.c')
-rw-r--r--ax25/axspawn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ax25/axspawn.c b/ax25/axspawn.c
index af5230d..9bdf591 100644
--- a/ax25/axspawn.c
+++ b/ax25/axspawn.c
@@ -1,6 +1,6 @@
/*
*
- * $Id: axspawn.c,v 1.17 2008/10/10 16:24:00 dl9sau Exp $
+ * $Id: axspawn.c,v 1.18 2008/10/22 22:25:04 dl9sau Exp $
*
* axspawn.c - run a program from ax25d.
*
@@ -999,7 +999,7 @@ void cleanup(char *tty)
setutent();
ut.ut_type = LOGIN_PROCESS;
- strncpy(ut.ut_id, tty + 3, sizeof(ut.ut_line));
+ strncpy(ut.ut_id, tty + 3, sizeof(ut.ut_id));
ut_line = getutid(&ut);
if (ut_line != NULL) {