Index: /trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp
===================================================================
--- /trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp	(revision 84660)
+++ /trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp	(revision 84661)
@@ -187,22 +187,20 @@
 static int determineOutputCount();
 
-#define checkFunctionPtrReturn(pFunction)                               \
-    do{                                                                 \
-        if (!pFunction)                                                 \
-        {                                                               \
-            VBClLogFatalError("Could not find symbol address\n");       \
-            dlclose(x11Context.pRandLibraryHandle);                     \
-            x11Context.pRandLibraryHandle = NULL;                       \
-            return VERR_NOT_FOUND;                                      \
-        }                                                               \
-    }while(0)
-
-#define checkFunctionPtr(pFunction)                                     \
-    do{                                                                 \
-        if (!pFunction)                                                 \
-        {                                                               \
-            VBClLogFatalError("Could not find symbol address\n");       \
-        }                                                               \
-    }while(0)
+#define checkFunctionPtrReturn(pFunction) \
+    do { \
+        if (!pFunction) \
+        { \
+            VBClLogFatalError("Could not find symbol address (%s)\n", #pFunction); \
+            dlclose(x11Context.pRandLibraryHandle); \
+            x11Context.pRandLibraryHandle = NULL; \
+            return VERR_NOT_FOUND; \
+        } \
+    } while (0)
+
+#define checkFunctionPtr(pFunction) \
+    do { \
+        if (!pFunction) \
+            VBClLogFatalError("Could not find symbol address (%s)\n", #pFunction);\
+    } while (0)
 
 
