diff options
Diffstat (limited to 'launchd')
-rw-r--r-- | launchd/console_redirect.c | 4 | ||||
-rw-r--r-- | launchd/user_startx/launchd_startx.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/launchd/console_redirect.c b/launchd/console_redirect.c index 2a758d1..d932dc3 100644 --- a/launchd/console_redirect.c +++ b/launchd/console_redirect.c @@ -226,9 +226,9 @@ int main(int argc, char **argv) { system("/bin/echo SYST OUT"); system("/bin/echo SYST ERR >&2"); fprintf(stdout, "TEST OUT3\n"); - fprintf(stdout, "TEST OUT4\n"); + fprintf(stdout, "TEST OUT4"); fprintf(stderr, "TEST ERR3\n"); - fprintf(stderr, "TEST ERR4\n"); + fprintf(stderr, "TEST ERR4"); exit(0); } diff --git a/launchd/user_startx/launchd_startx.c b/launchd/user_startx/launchd_startx.c index cf93227..41d1511 100644 --- a/launchd/user_startx/launchd_startx.c +++ b/launchd/user_startx/launchd_startx.c @@ -43,7 +43,7 @@ int main(int argc, char **argv, char **envp) { pid_t child; int pstat; - if(argc < 2 || strcmp(argv[1], "--help")) { + if(argc < 2 || strcmp(argv[1], "--help") == 0) { fprintf(stderr, "Usage: %s prog [args...]\n", argv[0]); exit(EXIT_FAILURE); } |