X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fmain.c;h=799184e46029b3ccf51f825fc151eee298cb4741;hp=f00d43a7c5bf16daf197bbad03f07bf12f8fa4c4;hb=2e33c4331f9f1169645e4b2e9c7c8861454f6b51;hpb=a3d4e06dfa234bf2a9398c8e534b705b68aa50a1 diff --git a/src/main.c b/src/main.c index f00d43a7c..799184e46 100644 --- a/src/main.c +++ b/src/main.c @@ -116,7 +116,7 @@ _noreturn_ static void crash(int sig) { else if (!WCOREDUMP(status)) log_error("Caught <%s>, core dump failed.", strsignal(sig)); else - log_error("Caught <%s>, dumped core as pid %llu.", strsignal(sig), (unsigned long long) pid); + log_error("Caught <%s>, dumped core as pid %lu.", strsignal(sig), (unsigned long) pid); } } @@ -152,7 +152,7 @@ _noreturn_ static void crash(int sig) { _exit(1); } - log_info("Successfully spawned crash shall as pid %llu.", (unsigned long long) pid); + log_info("Successfully spawned crash shall as pid %lu.", (unsigned long) pid); } log_info("Freezing execution."); @@ -536,7 +536,7 @@ static int parse_argv(int argc, char *argv[]) { static int help(void) { - printf("%s [options]\n\n" + printf("%s [OPTIONS...]\n\n" "Starts up and maintains the system or a session.\n\n" " -h --help Show this help\n" " --unit=UNIT Set default unit\n" @@ -547,7 +547,7 @@ static int help(void) { " --introspect[=INTERFACE] Extract D-Bus interface data\n" " --log-level=LEVEL Set log level\n" " --log-target=TARGET Set log target (console, syslog, kmsg, syslog-or-kmsg, null)\n" - " --log-color[=0|1] Highlight import log messages\n" + " --log-color[=0|1] Highlight important log messages\n" " --log-location[=0|1] Include code location in log messages\n", program_invocation_short_name);