summaryrefslogtreecommitdiff
path: root/sys/dev/hea/eni_if.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/hea/eni_if.c')
-rw-r--r--sys/dev/hea/eni_if.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/sys/dev/hea/eni_if.c b/sys/dev/hea/eni_if.c
index 49f5e09516cd..41ffd485b3f1 100644
--- a/sys/dev/hea/eni_if.c
+++ b/sys/dev/hea/eni_if.c
@@ -23,7 +23,7 @@
* Copies of this Software may be made, however, the above copyright
* notice must be reproduced on all copies.
*
- * @(#) $Id: eni_if.c,v 1.2 1998/10/31 20:06:45 phk Exp $
+ * @(#) $Id: eni_if.c,v 1.6 1998/08/26 23:28:53 mks Exp $
*
*/
@@ -35,6 +35,10 @@
*
*/
+#ifndef lint
+static char *RCSid = "@(#) $Id: eni_if.c,v 1.6 1998/08/26 23:28:53 mks Exp $";
+#endif
+
#include <netatm/kern_include.h>
#include <dev/hea/eni_stats.h>
@@ -42,10 +46,6 @@
#include <dev/hea/eni_suni.h>
#include <dev/hea/eni_var.h>
-#ifndef lint
-__RCSID("@(#) $Id: eni_if.c,v 1.2 1998/10/31 20:06:45 phk Exp $");
-#endif
-
static void eni_get_stats __P((Eni_unit *));
/*
@@ -194,8 +194,7 @@ eni_atm_ioctl ( code, data, arg )
*/
if ( eup == NULL )
return ( ENXIO );
- snprintf ( ifname, sizeof(ifname),
- "%s%d", pip->pif_name, pip->pif_unit );
+ sprintf ( ifname, "%s%d", pip->pif_name, pip->pif_unit );
/*
* Cast response structure onto user's buffer