ntdll: Remove trailing \n in fatal_perror() calls.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-11-29 17:14:14 +01:00
parent 4dc4bab93f
commit dd73223289
1 changed files with 3 additions and 3 deletions

View File

@ -1139,7 +1139,7 @@ static int setup_config_dir(void)
if (chdir( config_dir ) == -1)
{
if (errno != ENOENT) fatal_perror( "chdir to %s\n", config_dir );
if (errno != ENOENT) fatal_perror( "chdir to %s", config_dir );
if ((p = strrchr( config_dir, '/' )) && p != config_dir)
{
@ -1156,7 +1156,7 @@ static int setup_config_dir(void)
}
mkdir( config_dir, 0777 );
if (chdir( config_dir ) == -1) fatal_perror( "chdir to %s\n", config_dir );
if (chdir( config_dir ) == -1) fatal_perror( "chdir to %s", config_dir );
MESSAGE( "wine: created the configuration directory '%s'\n", config_dir );
}
@ -1164,7 +1164,7 @@ static int setup_config_dir(void)
if (mkdir( "dosdevices", 0777 ) == -1)
{
if (errno == EEXIST) goto done;
fatal_perror( "cannot create %s/dosdevices\n", config_dir );
fatal_perror( "cannot create %s/dosdevices", config_dir );
}
/* create the drive symlinks */