From c8ea11c0d8d6e0e22463715abb5a2c5843a5cb2b Mon Sep 17 00:00:00 2001 From: Andrew Nguyen Date: Wed, 1 Jun 2011 07:13:21 -0500 Subject: [PATCH] hostname: Output a CRLF newline with the hostname string. --- programs/hostname/hostname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.11.4.GIT