Commit ae26e2ef authored by Tim Cambrant's avatar Tim Cambrant Committed by David S. Miller

[VLAN]: Use array for static const char 'fmt'

parent f41a0249
......@@ -305,7 +305,7 @@ static int vlandev_seq_show(struct seq_file *seq, void *offset)
struct net_device *vlandev = (struct net_device *) seq->private;
const struct vlan_dev_info *dev_info = VLAN_DEV_INFO(vlandev);
struct net_device_stats *stats;
static const char *fmt = "%30s %12lu\n";
static const char fmt[] = "%30s %12lu\n";
int i;
if ((vlandev == NULL) || (!(vlandev->priv_flags & IFF_802_1Q_VLAN)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment