diff options
Diffstat (limited to 'sys/dev/hfa/fore_if.c')
-rw-r--r-- | sys/dev/hfa/fore_if.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/dev/hfa/fore_if.c b/sys/dev/hfa/fore_if.c index 479e7e672f816..7d3b3b6dff5f1 100644 --- a/sys/dev/hfa/fore_if.c +++ b/sys/dev/hfa/fore_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: fore_if.c,v 1.2 1998/10/31 20:06:52 phk Exp $ + * @(#) $Id: fore_if.c,v 1.6 1998/08/26 23:28:58 mks Exp $ * */ @@ -35,12 +35,12 @@ * */ -#include <dev/hfa/fore_include.h> - #ifndef lint -__RCSID("@(#) $Id: fore_if.c,v 1.2 1998/10/31 20:06:52 phk Exp $"); +static char *RCSid = "@(#) $Id: fore_if.c,v 1.6 1998/08/26 23:28:58 mks Exp $"; #endif +#include <dev/hfa/fore_include.h> + /* * Handle netatm core service interface ioctl requests @@ -85,8 +85,7 @@ fore_atm_ioctl(code, data, arg) fup = (Fore_unit *)pip; if ( pip == 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 |