diff options
Diffstat (limited to 'sys/dev/hfa/fore_command.c')
| -rw-r--r-- | sys/dev/hfa/fore_command.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/dev/hfa/fore_command.c b/sys/dev/hfa/fore_command.c index d8e0e9d3cd2e9..980be432deaa8 100644 --- a/sys/dev/hfa/fore_command.c +++ b/sys/dev/hfa/fore_command.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_command.c,v 1.3 1998/10/31 20:06:52 phk Exp $ + * @(#) $Id: fore_command.c,v 1.1 1998/09/15 08:22:54 phk Exp $ * */ @@ -35,12 +35,12 @@ * */ -#include <dev/hfa/fore_include.h> - #ifndef lint -__RCSID("@(#) $Id: fore_command.c,v 1.3 1998/10/31 20:06:52 phk Exp $"); +static char *RCSid = "@(#) $Id: fore_command.c,v 1.1 1998/09/15 08:22:54 phk Exp $"; #endif +#include <dev/hfa/fore_include.h> + /* * Local variables */ @@ -341,8 +341,7 @@ fore_cmd_drain(fup) sizeof(struct mac_addr)); fup->fu_config.ac_macaddr = fup->fu_pif.pif_macaddr; - snprintf(fup->fu_config.ac_hard_vers, - sizeof(fup->fu_config.ac_hard_vers), + sprintf(fup->fu_config.ac_hard_vers, "%ld.%ld.%ld", (fp->pr_hwver >> 16) & 0xff, (fp->pr_hwver >> 8) & 0xff, |
