vircgroup: Duplicate string before modifying
vircgroup: Duplicate string before modifying

The 'mntDir' is part of 'struct mntent' as a result of getmntent_r
therefore we should not mangle with it.

Reviewed-by: Ján Tomko <4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com>
Signed-off-by: Pavel Hrdina <d4772d05997b8abf035041e3b4f4996380ea7e7a@redhat.com>

jardasgit/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,libvirt/libvirt,crobinso/libvirt,crobinso/libvirt,jardasgit/libvirt,andreabolognani/libvirt,zippy2/libvirt,jfehlig/libvirt,nertpinx/libvirt,eskultety/libvirt,jfehlig/libvirt,eskultety/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,eskultety/libvirt,libvirt/libvirt,olafhering/libvirt,nertpinx/libvirt,nertpinx/libvirt,jardasgit/libvirt,jardasgit/libvirt,jardasgit/libvirt,eskultety/libvirt,zippy2/libvirt,libvirt/libvirt,andreabolognani/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,eskultety/libvirt,olafhering/libvirt,olafhering/libvirt,andreabolognani/libvirt,crobinso/libvirt,andreabolognani/libvirt,nertpinx/libvirt,jfehlig/libvirt,crobinso/libvirt,libvirt/libvirt,zippy2/libvirt,olafhering/libvirt,zippy2/libvirt