X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fjournal%2Fcoredumpctl.c;h=4adc9236f1fd3428d6f98ea3725a21e927a8f84f;hb=33b40551236a6c0c323226b78f1b1e5751a95ff5;hp=663e3cdd10391d3e66c45ccce2e86569f5822ea5;hpb=584f587295d9ae3f5da383083885d81751e8c0dc;p=elogind.git diff --git a/src/journal/coredumpctl.c b/src/journal/coredumpctl.c index 663e3cdd1..4adc9236f 100644 --- a/src/journal/coredumpctl.c +++ b/src/journal/coredumpctl.c @@ -19,6 +19,7 @@ along with systemd; If not, see . ***/ +#include #include #include #include @@ -87,6 +88,7 @@ static int help(void) { "Commands:\n" " -h --help Show this help\n" " --version Print version string\n" + " -F --field=FIELD List all values a certain field takes\n" " gdb Start gdb for the first matching coredump\n" " list List available coredumps\n" " dump PID Print coredump to stdout\n" @@ -513,6 +515,7 @@ int main(int argc, char *argv[]) { Iterator it; int r = 0; + setlocale(LC_ALL, ""); log_parse_environment(); log_open();