summaryrefslogtreecommitdiff
path: root/src/readahead/sd-readahead.c
AgeCommit message (Collapse)Author
2013-04-11errno is positiveZbigniew Jędrzejewski-Szmek
Make sure we compare errno against positive error codes. The ones in hwclock.c and install.c can have an impact, the rest are unlikely to be hit or in code that isn't widely used. Also check that errno > 0, to help gcc know that we are returning a negative error code.
2013-03-11Remove or indent #define GNU_SOURCEZbigniew Jędrzejewski-Szmek
It is only needed in files designed to be usable in standalone compilation. In those files the #ifdefinery is indented. When compiling in-tree, GNU_SOURCE is always defined, so remove one definition.
2012-05-23readahead: avoid running of readahead services if readahead is already doneLennart Poettering
2012-01-03readahead: bring export definition of sd-readahead in line with sd-daemonLennart Poettering
2011-12-31build-sys: make readahead and vconsole optionalLennart Poettering