diff options
| author | Alfred Perlstein <alfred@FreeBSD.org> | 2002-06-01 07:18:32 +0000 |
|---|---|---|
| committer | Alfred Perlstein <alfred@FreeBSD.org> | 2002-06-01 07:18:32 +0000 |
| commit | 058dc44ca0221833a0935d9e0b76f2520fe7c629 (patch) | |
| tree | 3adce91885eaf4717286bb82ca2cd98bf7360539 /sys/dev | |
| parent | fa900b36998c81de61c6fdca5027b126448ee3f1 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/usb/udbp.c | 6 | ||||
| -rw-r--r-- | sys/dev/usb/udbp.h | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/usb/udbp.c b/sys/dev/usb/udbp.c index 1c90389447bf..36696808e7e7 100644 --- a/sys/dev/usb/udbp.c +++ b/sys/dev/usb/udbp.c @@ -161,11 +161,11 @@ Static ng_rcvdata_t ng_udbp_rcvdata; Static ng_disconnect_t ng_udbp_disconnect; /* Parse type for struct ngudbpstat */ -Static const struct ng_parse_struct_info - ng_udbp_stat_type_info = NG_UDBP_STATS_TYPE_INFO; +Static const struct ng_parse_struct_field + ng_udbp_stat_type_fields[] = NG_UDBP_STATS_TYPE_INFO; Static const struct ng_parse_type ng_udbp_stat_type = { &ng_parse_struct_type, - &ng_udbp_stat_type_info + &ng_udbp_stat_type_fields }; /* List of commands and how to convert arguments to/from ASCII */ diff --git a/sys/dev/usb/udbp.h b/sys/dev/usb/udbp.h index a3b04aab2583..b447fcb0cb4b 100644 --- a/sys/dev/usb/udbp.h +++ b/sys/dev/usb/udbp.h @@ -72,11 +72,9 @@ struct ngudbpstat { * This needs to be kept in sync with the above structure definition */ #define NG_UDBP_STATS_TYPE_INFO { \ - { \ { "packets_in", &ng_parse_int32_type }, \ { "packets_out", &ng_parse_int32_type }, \ { NULL }, \ - } \ } #endif /* _NETGRAPH_UDBP_H_ */ |
