summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2004-01-26 18:39:20 +0000
committermiod <miod@openbsd.org>2004-01-26 18:39:20 +0000
commita76c08d50d128511ee668f10c755eab631d207e1 (patch)
treee28f9ada088de2d6c0d8db8a6af7d072251c8ee5
parentknf and cleanup; millert ok (diff)
downloadwireguard-openbsd-a76c08d50d128511ee668f10c755eab631d207e1.tar.xz
wireguard-openbsd-a76c08d50d128511ee668f10c755eab631d207e1.zip
Correct strlcpy bound.
-rw-r--r--sys/arch/mvmeppc/stand/libsa/bugdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvmeppc/stand/libsa/bugdev.c b/sys/arch/mvmeppc/stand/libsa/bugdev.c
index 7943924c56b..20b4f8d562e 100644
--- a/sys/arch/mvmeppc/stand/libsa/bugdev.c
+++ b/sys/arch/mvmeppc/stand/libsa/bugdev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bugdev.c,v 1.2 2003/06/01 17:00:38 deraadt Exp $ */
+/* $OpenBSD: bugdev.c,v 1.3 2004/01/26 18:39:20 miod Exp $ */
/*
* Copyright (c) 1993 Paul Kranenburg
@@ -479,7 +479,7 @@ net_open(struct open_file *f, ...)
nfo.clun = pp->clun;
nfo.dlun = pp->dlun;
nfo.status = 0;
- strlcpy(nfo.filename, filename, sizeof filename);
+ strlcpy(nfo.filename, filename, sizeof nfo.filename);
/* .NETFOPN syscall */
mvmeprom_netfopen(&nfo);