diff options
Diffstat (limited to 'sys/netatm/uni/unisig_if.c')
-rw-r--r-- | sys/netatm/uni/unisig_if.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/netatm/uni/unisig_if.c b/sys/netatm/uni/unisig_if.c index e1cfc8f98b84a..c85e462a8b4a9 100644 --- a/sys/netatm/uni/unisig_if.c +++ b/sys/netatm/uni/unisig_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: unisig_if.c,v 1.2 1998/09/17 09:35:02 phk Exp $ + * @(#) $Id: unisig_if.c,v 1.3 1998/10/31 20:07:01 phk Exp $ * */ @@ -47,7 +47,7 @@ #include <netatm/uni/unisig_msg.h> #ifndef lint -__RCSID("@(#) $Id: unisig_if.c,v 1.2 1998/09/17 09:35:02 phk Exp $"); +__RCSID("@(#) $Id: unisig_if.c,v 1.3 1998/10/31 20:07:01 phk Exp $"); #endif @@ -894,7 +894,8 @@ unisig_ioctl(code, data, arg1) /* * Fill out the response struct for the VCC */ - (void) sprintf(rsp.avp_intf, "%s%d", + (void) snprintf(rsp.avp_intf, + sizeof(rsp.avp_intf), "%s%d", usp->us_pif->pif_name, usp->us_pif->pif_unit); rsp.avp_vpi = uvp->uv_vpi; |