]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virpidfile: replace fopen/fwrite/fscanf with more portable version
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Thu, 2 Feb 2012 00:28:30 +0000 (01:28 +0100)
committerEric Blake <eblake@redhat.com>
Fri, 10 Feb 2012 23:34:46 +0000 (16:34 -0700)
commit805b4407a661bb857945886b5ba22491017e0256
tree2ff4cfb7edc3e63d567822ed432e5ba3656c1e53
parent2bcfd5b106b229c8baf32e302f29d52ee7921915
virpidfile: replace fopen/fwrite/fscanf with more portable version

Replace calls to fwrite() and fscanf() with more portable-friendly
version, such as snprintf() and virStrToLong().
src/util/virpidfile.c