diff options
| author | mycroft <mycroft@NetBSD.org> | 2003-09-26 16:00:12 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 2003-09-26 16:00:12 +0000 |
| commit | c7d415bac18d8aaba1c57c1dcd7a600b6cfce231 (patch) | |
| tree | be1388141942175b51320ae189d287c6dd4a3f0c /sys/dev | |
| parent | cff4731c81806b0352201f363bacddd6ed81f482 (diff) | |
Fix off-by-one problem in array size.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/tc/ioasicvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/tc/ioasicvar.h b/sys/dev/tc/ioasicvar.h index 809a415672b..3d27b81de22 100644 --- a/sys/dev/tc/ioasicvar.h +++ b/sys/dev/tc/ioasicvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: ioasicvar.h,v 1.14 2000/10/17 09:45:49 nisimura Exp $ */ +/* $NetBSD: ioasicvar.h,v 1.15 2003/09/26 16:00:12 mycroft Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. @@ -38,7 +38,7 @@ struct ioasic_dev { }; struct ioasicdev_attach_args { - char iada_modname[TC_ROM_LLEN]; + char iada_modname[TC_ROM_LLEN+1]; tc_offset_t iada_offset; tc_addr_t iada_addr; void *iada_cookie; |
