diff --git a/programs/hostname/hostname.c b/programs/hostname/hostname.c index 003bbba6fe8..77ff23b42fd 100644 --- a/programs/hostname/hostname.c +++ b/programs/hostname/hostname.c @@ -109,7 +109,7 @@ static int hostname_message(int msg) static void display_computer_name(void) { - static const WCHAR fmtW[] = {'%','s','\n',0}; + static const WCHAR fmtW[] = {'%','s','\r','\n',0}; char nameA[256]; WCHAR nameW[256];