diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:32 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:32 +0000 |
commit | 76b5366091f76c9bc73570149ef5055648fc2c39 (patch) | |
tree | 590d020e0f2a5bea6e09d66d951a674443b21d67 /sys/dev/hfa/fore_if.c | |
parent | 4b4d01da6f07f7754ff6a6e4f5223e9f0984d1a6 (diff) |
Notes
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 |