]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virNetDevOpenvswitchGetVhostuserIfname: Fix const correctness
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 13 May 2020 09:57:37 +0000 (11:57 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 13 May 2020 11:14:29 +0000 (13:14 +0200)
commitc4408decbdce51befd902bfbd45bbc9d902a2e4a
treea3ae0a0bf7e5288a21513d2846478649cf249d7a
parent6c0af6be64e80ec234b0e88eb46561a521894873
virNetDevOpenvswitchGetVhostuserIfname: Fix const correctness

The @tmpIfname is a pointer into a const string. To avoid
mistakenly changing the const string via the pointer, make the
pointer const too.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/util/virnetdevopenvswitch.c