summaryrefslogtreecommitdiff
path: root/sys/dev/ieee1394/fwohci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ieee1394/fwohci.c')
-rw-r--r--sys/dev/ieee1394/fwohci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ieee1394/fwohci.c b/sys/dev/ieee1394/fwohci.c
index 092c419caef..30b6267853b 100644
--- a/sys/dev/ieee1394/fwohci.c
+++ b/sys/dev/ieee1394/fwohci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fwohci.c,v 1.12 2003/01/13 07:16:20 tdeval Exp $ */
+/* $OpenBSD: fwohci.c,v 1.13 2003/04/27 11:22:53 ho Exp $ */
/* $NetBSD: fwohci.c,v 1.54 2002/03/29 05:06:42 jmc Exp $ */
/*
@@ -3327,7 +3327,7 @@ fwohci_uid_input(struct fwohci_softc *sc, void *arg, struct fwohci_pkt *res)
}
}
if (!found) {
- strcpy(fwa.name, "fwnode");
+ strlcpy(fwa.name, "fwnode", sizeof fwa.name);
fwa.link_speed = fu->fu_link_speed;
bcopy(fu->fu_uid, fwa.uid, 8);
fwa.nodeid = n;