]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/udev/udev-builtin-net_id.c
udev: turn off -Wformat-nonliteral for one safe case 5988/head
authorLennart Poettering <lennart@poettering.net>
Thu, 18 May 2017 16:25:02 +0000 (18:25 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 19 May 2017 02:26:12 +0000 (22:26 -0400)
commit86a48fb6f732c30812f3d29e5564d64037aff42f
treea4ce961eef80fe2b8a8fbd849c1c03fc51d7ebe8
parent6b7af82122d13264ebbbcd99e71f2d9da71552b6
udev: turn off -Wformat-nonliteral for one safe case

c20e6de897b2378bc3f936e1e265d2d2e2450a73 introduced a format string as
variable, but didn't turn off -Wformat-nonliteral warnings on it, thus
breaking the build. Let's fix that, by simply turning off the warning in
this case, as we know it's safe.
src/udev/udev-builtin-net_id.c