diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-26 18:39:21 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-26 18:39:21 +0000 |
commit | 0c962462271adac07f187872d8a90d46158dc2ad (patch) | |
tree | 9da2af4e1fcd70758ae0dfa94fa95eb4e829bbf8 /sys/arch | |
parent | 3568714c032da456467cee52d09cb018e52ac22d (diff) |
Correct strlcpy bound.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mvmeppc/stand/libsa/bugdev.c | 4 |
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); |