]> err.no Git - systemd/commitdiff
udevadm: info - make attribute array static and const
authorThomas Egerer <thomas.egerer@secunet.com>
Tue, 8 Mar 2011 08:57:17 +0000 (09:57 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 8 Mar 2011 12:14:44 +0000 (13:14 +0100)
udev/udevadm-info.c

index a231fd8d0b37d0a32a3b309cab816c5b60b53da0..187e74d50eb795257e1424fb059cfcde555e1c72 100644 (file)
@@ -33,7 +33,7 @@
 
 static bool skip_attribute(const char *name)
 {
-       char *skip[] = {
+       static const char const *skip[] = {
                "uevent",
                "dev",
                "modalias",