X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Frandom-seed.c;fp=src%2Frandom-seed.c;h=b9cafb7cd7fb568de359895bfc306e705ad2149c;hp=91aa6c6b4e6917578664cf9fe0c2f7347db5e51c;hb=2396fb04f78eaa9842c747e384218f0069446960;hpb=618e02c7b7f8e11fdb954a019342d745937baf55 diff --git a/src/random-seed.c b/src/random-seed.c index 91aa6c6b4..b9cafb7cd 100644 --- a/src/random-seed.c +++ b/src/random-seed.c @@ -39,7 +39,9 @@ int main(int argc, char *argv[]) { return 1; } + log_set_target(LOG_TARGET_SYSLOG_OR_KMSG); log_parse_environment(); + log_open(); /* When we load the seed we read it and write it to the device * and then immediately update the saved seed with new data,