Blob Blame Raw
--- xscreensaver-5.12/driver/passwd.c.debug2	2008-12-27 19:17:26.000000000 +0900
+++ xscreensaver-5.12/driver/passwd.c	2011-04-03 21:55:26.000000000 +0900
@@ -205,7 +205,7 @@
 {
 # ifdef HAVE_SYSLOG
   struct passwd *pw = getpwuid (getuid ());
-  char *d = DisplayString (si->dpy);
+  char *d = (si->dpy ? DisplayString (si->dpy) : 0);
   char *u = (pw && pw->pw_name ? pw->pw_name : "???");
   int opt = 0;
   int fac = 0;