1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

pre-release

This commit is contained in:
Alasdair Kergon 2010-04-14 18:53:04 +00:00
parent fadbec996f
commit 9c29f2f509
2 changed files with 3 additions and 3 deletions

View File

@ -366,7 +366,7 @@ int main(int argc, char *argv[])
* Daemon currently needs to use mlockall().
*/
if (setenv("LANG", "C", 1) != 0)
perror("Can not set LANG to C");
perror("Cannot set LANG to C");
/* Fork into the background (unless requested not to) */
if (debug != DEBUG_STDERR) {

View File

@ -1703,8 +1703,8 @@ int main(int argc, char *argv[])
* used by some glibc (on some distributions it takes over 100MB).
* Daemon currently needs to use mlockall().
*/
if (setenv("LANG", "C", 1) != 0)
perror("Can not set LANG to C");
if (!setenv("LANG", "C", 1))
perror("Cannot set LANG to C");
if (!_debug)
_daemonize();