Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-updates-src > by-pkgid > 054cef8d7f016ac9fb831856b7968669 > files > 15

x11-server-1.16.4-2.1.mga5.src.rpm

--- xorg-server-1.16.1/hw/xfree86/common/xf86Init.c.orig	2014-11-02 14:19:01.683239504 +0000
+++ xorg-server-1.16.1/hw/xfree86/common/xf86Init.c	2014-11-02 14:23:40.656377457 +0000
@@ -1142,9 +1142,14 @@
     ErrorFSigSafe("\nPlease consult the " XVENDORNAME " support \n\t at "
                  __VENDORDWEBSUPPORT__ "\n for help. \n");
 #endif
-    if (xf86LogFile && xf86LogFileWasOpened)
-        ErrorFSigSafe("Please also check the log file at \"%s\" for additional "
-                     "information.\n", xf86LogFile);
+    if (xf86LogFile && xf86LogFileWasOpened) {
+        if (strcmp(xf86LogFile, "/dev/null") == 0)
+            ErrorFSigSafe("Please also check `journalctl -b /usr/bin/Xorg` for "
+                         "additional information.\n");
+        else            
+            ErrorFSigSafe("Please also check the log file at \"%s\" for additional "
+                         "information.\n", xf86LogFile);
+    }
     ErrorFSigSafe("\n");
 }