diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-19 03:00:42 -0500 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2017-02-19 11:00:42 +0300 |
commit | 3877500c5bc2daad0437b74eb3a7f707d413c2b0 (patch) | |
tree | 0e288e9ba7945591fb51493037f41f51911a4fcc /src/udev | |
parent | 1e94df447150f065241091044b32a730a5bf9ed4 (diff) |
udev-builtin-net_id: fix warning about discarded "const" attribute (#5385)
Diffstat (limited to 'src/udev')
-rw-r--r-- | src/udev/udev-builtin-net_id.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/udev/udev-builtin-net_id.c b/src/udev/udev-builtin-net_id.c index b5a88c667c..bd7b789cad 100644 --- a/src/udev/udev-builtin-net_id.c +++ b/src/udev/udev-builtin-net_id.c @@ -426,11 +426,10 @@ static int names_bcma(struct udev_device *dev, struct netnames *names) { static int names_ccw(struct udev_device *dev, struct netnames *names) { struct udev_device *cdev; - const char *bus_id; + const char *bus_id, *subsys; size_t bus_id_len; size_t bus_id_start; int rc; - char *subsys; assert(dev); assert(names); |