X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fguestfsd.c;h=b013661e240eaf2d2ac5b7f8a7c37fabddf0fc64;hb=801e7d8418927e4308b8cb0a079015bbc9212d5e;hp=07a952f09db2afbb2c5f962a36a78035861fa926;hpb=835f6b2c067f3105a330f1a4309eade3afc80ee6;p=libguestfs.git diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index 07a952f..b013661 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -188,7 +188,7 @@ main (int argc, char *argv[]) */ setenv ("PATH", "/usr/bin:/bin", 1); setenv ("SHELL", "/bin/sh", 1); - setenv ("LANG", "C", 1); + setenv ("LC_ALL", "C", 1); /* We document that umask defaults to 022 (it should be this anyway). */ umask (022); @@ -775,7 +775,7 @@ print_arginfo (const struct printf_info *info, size_t n, int *argtypes) #endif /* Perform device name translation. Don't call this directly - - * use the IS_DEVICE macro. + * use the RESOLVE_DEVICE macro. * * See guestfs(3) for the algorithm. *