lib: guestfs_disk_format: Set LC_ALL=C instead of LANG=C.

LC_ALL takes precedence over LANG.  See:

http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html
This commit is contained in:
Richard W.M. Jones
2012-09-12 21:38:48 +01:00
parent 97a1439d90
commit d9a98dc1cd

View File

@@ -190,7 +190,7 @@ run_qemu_img_info (guestfs_h *g, const char *filename,
dup2 (fd[1], 1);
close (fd[1]);
setenv ("LANG", "C", 1);
setenv ("LC_ALL", "C", 1);
/* XXX stderr to event log */