Blame SOURCES/0001-_XDefaultIOError-Reformat-to-be-less-ugly.patch

96c0cb
From 6d2cde9633b5ee020cb60caea1cf61e090b86dd2 Mon Sep 17 00:00:00 2001
96c0cb
From: Adam Jackson <ajax@redhat.com>
96c0cb
Date: Fri, 24 Mar 2017 11:07:35 -0400
96c0cb
Subject: [PATCH 1/2] _XDefaultIOError: Reformat to be less ugly
96c0cb
96c0cb
Signed-off-by: Adam Jackson <ajax@redhat.com>
96c0cb
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
96c0cb
---
96c0cb
 src/XlibInt.c | 26 +++++++++++++-------------
96c0cb
 1 file changed, 13 insertions(+), 13 deletions(-)
96c0cb
96c0cb
diff --git a/src/XlibInt.c b/src/XlibInt.c
96c0cb
index 73afe024..903e47f3 100644
96c0cb
--- a/src/XlibInt.c
96c0cb
+++ b/src/XlibInt.c
96c0cb
@@ -1243,24 +1243,24 @@ _X_NORETURN int _XDefaultIOError(
96c0cb
 	Display *dpy)
96c0cb
 {
96c0cb
 	if (ECHECK(EPIPE)) {
96c0cb
-	    (void) fprintf (stderr,
96c0cb
-	"X connection to %s broken (explicit kill or server shutdown).\r\n",
96c0cb
-			    DisplayString (dpy));
96c0cb
+	    fprintf (stderr,
96c0cb
+                     "X connection to %s broken (explicit kill or server shutdown).\r\n",
96c0cb
+                     DisplayString (dpy));
96c0cb
 	} else {
96c0cb
-	    (void) fprintf (stderr,
96c0cb
-			"XIO:  fatal IO error %d (%s) on X server \"%s\"\r\n",
96c0cb
+            fprintf (stderr,
96c0cb
+                     "XIO:  fatal IO error %d (%s) on X server \"%s\"\r\n",
96c0cb
 #ifdef WIN32
96c0cb
-			WSAGetLastError(), strerror(WSAGetLastError()),
96c0cb
+                      WSAGetLastError(), strerror(WSAGetLastError()),
96c0cb
 #else
96c0cb
-			errno, strerror (errno),
96c0cb
+                      errno, strerror (errno),
96c0cb
 #endif
96c0cb
-			DisplayString (dpy));
96c0cb
-	    (void) fprintf (stderr,
96c0cb
-	 "      after %lu requests (%lu known processed) with %d events remaining.\r\n",
96c0cb
-			NextRequest(dpy) - 1, LastKnownRequestProcessed(dpy),
96c0cb
-			QLength(dpy));
96c0cb
+                      DisplayString (dpy));
96c0cb
+	    fprintf (stderr,
96c0cb
+		     "      after %lu requests (%lu known processed) with %d events remaining.\r\n",
96c0cb
+		     NextRequest(dpy) - 1, LastKnownRequestProcessed(dpy),
96c0cb
+		     QLength(dpy));
96c0cb
+        }
96c0cb
 
96c0cb
-	}
96c0cb
 	exit(1);
96c0cb
 	/*NOTREACHED*/
96c0cb
 }
96c0cb
-- 
96c0cb
2.21.0
96c0cb