summaryrefslogtreecommitdiffstats
path: root/sys/i4b
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-06-01 19:54:21 +0000
committeralfred <alfred@FreeBSD.org>2002-06-01 19:54:21 +0000
commit3e1c335bb983d479cb9387f285d8830dc87d5b75 (patch)
tree24a89b9fedb1a601948cefff0c5ee33dc04aeed4 /sys/i4b
parent887cd7c01dadef00c999279ad8bd6ad3de17f1a6 (diff)
downloadFreeBSD-src-3e1c335bb983d479cb9387f285d8830dc87d5b75.zip
FreeBSD-src-3e1c335bb983d479cb9387f285d8830dc87d5b75.tar.gz
Unbreak LINT by compensating for the
ng_parse_struct_info -> ng_parse_struct_field change.
Diffstat (limited to 'sys/i4b')
-rw-r--r--sys/i4b/driver/i4b_ing.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/i4b/driver/i4b_ing.c b/sys/i4b/driver/i4b_ing.c
index c6eb497..c82dabc 100644
--- a/sys/i4b/driver/i4b_ing.c
+++ b/sys/i4b/driver/i4b_ing.c
@@ -150,11 +150,9 @@ struct ngingstat {
* This needs to be kept in sync with the above structure definition
*/
#define NG_ING_STATS_TYPE_INFO { \
- { \
{ "packets_in", &ng_parse_int32_type }, \
{ "packets_out", &ng_parse_int32_type }, \
{ NULL }, \
- } \
}
/*
@@ -172,11 +170,12 @@ static ng_disconnect_t ng_ing_disconnect;
/* Parse type for struct ngingstat */
static const struct
- ng_parse_struct_info ng_ing_stat_type_info = NG_ING_STATS_TYPE_INFO;
+ ng_parse_struct_field ng_ing_stat_type_fields[] =
+ NG_ING_STATS_TYPE_INFO;
static const struct ng_parse_type ng_ing_stat_type = {
&ng_parse_struct_type,
- &ng_ing_stat_type_info
+ &ng_ing_stat_type_fields
};
/* List of commands and how to convert arguments to/from ASCII */
OpenPOWER on IntegriCloud