summaryrefslogtreecommitdiff
path: root/daemon/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/server.c')
-rw-r--r--daemon/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/server.c b/daemon/server.c
index da01ddfd..71bfb307 100644
--- a/daemon/server.c
+++ b/daemon/server.c
@@ -1320,12 +1320,12 @@ gdm_server_spawn (GdmDisplay *d, const char *vtarg)
setgroups (1, groups);
}
-#if sun
+#if __sun
{
/* Remove old communication pipe, if present */
char old_pipe[MAXPATHLEN];
- sprintf (old_pipe, "%s/%d", SDTLOGIN_DIR, d->name);
+ sprintf (old_pipe, "%s/%d", GDM_SDTLOGIN_DIR, d->name);
g_unlink (old_pipe);
}
#endif