diff options
author | Nikolay Sturm <sturm@cvs.openbsd.org> | 2005-06-12 20:08:59 +0000 |
---|---|---|
committer | Nikolay Sturm <sturm@cvs.openbsd.org> | 2005-06-12 20:08:59 +0000 |
commit | 12641aa573c8794ac22b137272ab8b0377801d12 (patch) | |
tree | 68254e46fb5aa0a3f0c8122ce3e5c3bd27307a63 /usr.sbin/acpidump/aml/aml_parse.c | |
parent | 910213ee4c224fff7b5aaf45fa823136acd8a5c4 (diff) |
strcat -> strlcat
ok tdeval
Diffstat (limited to 'usr.sbin/acpidump/aml/aml_parse.c')
-rw-r--r-- | usr.sbin/acpidump/aml/aml_parse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/acpidump/aml/aml_parse.c b/usr.sbin/acpidump/aml/aml_parse.c index 4fe333926bb..73242c89151 100644 --- a/usr.sbin/acpidump/aml/aml_parse.c +++ b/usr.sbin/acpidump/aml/aml_parse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aml_parse.c,v 1.2 2005/06/04 02:25:53 cloder Exp $ */ +/* $OpenBSD: aml_parse.c,v 1.3 2005/06/12 20:08:58 sturm Exp $ */ /*- * Copyright (c) 1999 Doug Rabson * Copyright (c) 1999, 2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org> @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: aml_parse.c,v 1.2 2005/06/04 02:25:53 cloder Exp $ + * $Id: aml_parse.c,v 1.3 2005/06/12 20:08:58 sturm Exp $ * $FreeBSD: src/usr.sbin/acpi/amldb/aml/aml_parse.c,v 1.7 2001/10/23 14:54:15 takawata Exp $ */ @@ -488,7 +488,7 @@ aml_parse_concat_string(struct aml_environ *env, union aml_object *obj, return (NULL); } strncpy(resobj->str.string, obj->str.string, len); - strcat(resobj->str.string, tmpobj->str.string); + strlcat(resobj->str.string, tmpobj->str.string, len); } else { resobj->str.string = NULL; } |