summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-02-17 18:56:00 +0000
committerimp <imp@FreeBSD.org>2003-02-17 18:56:00 +0000
commite99e4d0404e27542a16b153f15b944441598d572 (patch)
tree4958cfde20092886f8ae4ca9dc1fca23ff2b1790 /lib
parent84e496f2d2d6707d467d9c1762aa12e0daa23988 (diff)
downloadFreeBSD-src-e99e4d0404e27542a16b153f15b944441598d572.zip
FreeBSD-src-e99e4d0404e27542a16b153f15b944441598d572.tar.gz
Expand length of pnpinfo and length fields since pccard pnpinfo can
easily be longer than 64 characters.
Diffstat (limited to 'lib')
-rw-r--r--lib/libdevinfo/devinfo_var.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libdevinfo/devinfo_var.h b/lib/libdevinfo/devinfo_var.h
index 73de85c..b409671 100644
--- a/lib/libdevinfo/devinfo_var.h
+++ b/lib/libdevinfo/devinfo_var.h
@@ -45,8 +45,8 @@ struct devinfo_i_dev {
char dd_name[DEVINFO_STRLEN];
char dd_desc[DEVINFO_STRLEN];
char dd_drivername[DEVINFO_STRLEN];
- char dd_pnpinfo[DEVINFO_STRLEN * 2];
- char dd_location[DEVINFO_STRLEN * 2];
+ char dd_pnpinfo[DEVINFO_STRLEN * 4];
+ char dd_location[DEVINFO_STRLEN * 4];
uint32_t dd_devflags;
uint16_t dd_flags;
device_state_t dd_state;
OpenPOWER on IntegriCloud