]> git.hungrycats.org Git - linux/commitdiff
[VLAN]: Use array for static const char 'fmt'
authorTim Cambrant <tim@cambrant.com>
Mon, 15 Mar 2004 05:38:16 +0000 (21:38 -0800)
committerDavid S. Miller <davem@nuts.davemloft.net>
Mon, 15 Mar 2004 05:38:16 +0000 (21:38 -0800)
net/8021q/vlanproc.c

index a4487c0539c4040bd367c4e130df685dc0337894..9ea8d1d99d32b1671378c55c22d844b5479bf2d0 100644 (file)
@@ -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)))