summaryrefslogtreecommitdiff
path: root/src/random-seed/random-seed.c
AgeCommit message (Collapse)Author
2014-11-28treewide: no need to negate errno for log_*_errno()Michal Schmidt
It corrrectly handles both positive and negative errno values.
2014-11-28treewide: auto-convert the simple cases to log_*_errno()Michal Schmidt
As a followup to 086891e5c1 "log: add an "error" parameter to all low-level logging calls and intrdouce log_error_errno() as log calls that take error numbers", use sed to convert the simple cases to use the new macros: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\("(.*)%s"(.*), strerror\(-([a-zA-Z_]+)\)\);/log_\1_errno(-\4, "\2%m"\3);/' Multi-line log_*() invocations are not covered. And we also should add log_unit_*_errno().
2013-11-15random-seed: improve debugging messages a bitZbigniew Jędrzejewski-Szmek
2013-09-13random-seed: we should return errno of failed loop_writeLukas Nykryn
2013-08-13random-seed: a few modernizationsLennart Poettering
2012-10-19random-seed: fix error message typoUmut Tezduyar
The file node is /dev/urandom, not /dev/random.
2012-05-31mkdir: append _label to all mkdir() calls that explicitly set the selinux ↵Kay Sievers
context
2012-04-12move all tools to subdirsKay Sievers