]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
networkctl: fix const 2725/head
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 23 Feb 2016 19:25:48 +0000 (20:25 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 23 Feb 2016 19:40:51 +0000 (20:40 +0100)
src/network/networkctl.c

index 07ac15f4784a0d2748f740e2fad8601e4a7f01d3..6b1fbc603e959e80be29263b86cbb8d6eb0eaa19 100644 (file)
@@ -903,7 +903,7 @@ static char *lldp_capabilities_to_string(uint16_t x) {
 
 static void lldp_capabilities_legend(uint16_t x) {
         unsigned w, i, cols = columns();
-        static const char const* table[] = {
+        static const char* const table[] = {
                 "o - Other",
                 "p - Repeater",
                 "b - Bridge",