diff options
-rw-r--r-- | org.x.startx.plist.cpp | 2 | ||||
-rw-r--r-- | privileged_startx/client.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/org.x.startx.plist.cpp b/org.x.startx.plist.cpp index 845ce0e..bd4c9e9 100644 --- a/org.x.startx.plist.cpp +++ b/org.x.startx.plist.cpp @@ -10,7 +10,7 @@ </array> <key>Sockets</key> <dict> - <key>LAUNCHD_ID_PREFIX-:0</key> + <key>LAUNCHD_ID_PREFIX:0</key> <dict> <key>SecureSocketWithKey</key> <string>DISPLAY</string> 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); } |