diff options
Diffstat (limited to 'net/atm/proc.c')
-rw-r--r-- | net/atm/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/atm/proc.c b/net/atm/proc.c index 3a6be64b0512..5d9d5ffba145 100644 --- a/net/atm/proc.c +++ b/net/atm/proc.c | |||
@@ -176,7 +176,7 @@ static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc) | |||
176 | 176 | ||
177 | seq_printf(seq, "%3d %3d %5d %-3s %7d %-5s %7d %-6s", | 177 | seq_printf(seq, "%3d %3d %5d %-3s %7d %-5s %7d %-6s", |
178 | vcc->dev->number,vcc->vpi,vcc->vci, | 178 | vcc->dev->number,vcc->vpi,vcc->vci, |
179 | vcc->qos.aal >= sizeof(aal_name)/sizeof(aal_name[0]) ? "err" : | 179 | vcc->qos.aal >= ARRAY_SIZE(aal_name) ? "err" : |
180 | aal_name[vcc->qos.aal],vcc->qos.rxtp.min_pcr, | 180 | aal_name[vcc->qos.aal],vcc->qos.rxtp.min_pcr, |
181 | class_name[vcc->qos.rxtp.traffic_class],vcc->qos.txtp.min_pcr, | 181 | class_name[vcc->qos.rxtp.traffic_class],vcc->qos.txtp.min_pcr, |
182 | class_name[vcc->qos.txtp.traffic_class]); | 182 | class_name[vcc->qos.txtp.traffic_class]); |