summaryrefslogtreecommitdiff
path: root/privileged_startx
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2009-09-04 00:36:18 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2009-09-04 00:36:18 -0700
commit98c7700d5bff9e61a7f29d8a611edc8a34961e8e (patch)
tree4195989e07aa856c28e0c3261b239287b9f98db1 /privileged_startx
parent49b50db0cb1ecc5611a242d12b9ca05b961c91ac (diff)
launchd: Update the DISPLAY envvar to not have a - ... call me paranoid, but I feel safer without it
Also added some extra debugging fluff to distingush between two similar statements.
Diffstat (limited to 'privileged_startx')
-rw-r--r--privileged_startx/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/privileged_startx/client.c b/privileged_startx/client.c
index a33dd02..8e1a771 100644
--- a/privileged_startx/client.c
+++ b/privileged_startx/client.c
@@ -45,9 +45,9 @@ int client_main(void) {
kr = bootstrap_look_up(bootstrap_port, BOOTSTRAP_NAME, &mp);
if (kr != KERN_SUCCESS) {
#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
- fprintf(stderr, "bootstrap_look_up(): %s\n", bootstrap_strerror(kr));
+ fprintf(stderr, "privileged_startx: bootstrap_look_up(%s): %s\n", BOOTSTRAP_NAME, bootstrap_strerror(kr));
#else
- fprintf(stderr, "bootstrap_look_up(): %ul\n", (unsigned long)kr);
+ fprintf(stderr, "privileged_startx: bootstrap_look_up(%s): %ul\n", BOOTSTRAP_NAME, (unsigned long)kr);
#endif
exit(EXIT_FAILURE);
}