From eb7a99d1bd7279584e79314b7d4ae65aa063928c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 6 Feb 2014 13:19:16 -0800 Subject: [PATCH] Add missing '\n's to wgl test errors. Like some of the other missing '\n's, I'd originally used errx(), then just done a sed job to fprintf when I found that win32 lacked errx(). --- test/wgl_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/wgl_common.c b/test/wgl_common.c index 9734bf0..e81fe2d 100644 --- a/test/wgl_common.c +++ b/test/wgl_common.c @@ -54,12 +54,12 @@ setup_pixel_format(HDC hdc) pixel_format = ChoosePixelFormat(hdc, &pfd); if (!pixel_format) { - fprintf(stderr, "ChoosePixelFormat failed."); + fprintf(stderr, "ChoosePixelFormat failed.\n"); exit(1); } if (SetPixelFormat(hdc, pixel_format, &pfd) != TRUE) { - fprintf(stderr, "SetPixelFormat() failed."); + fprintf(stderr, "SetPixelFormat() failed.\n"); exit(1); } }