Hi,
I just hit some possible wrong error messages. Since prctl() is a
system call it won't return -errno but just -1 and set errno to some value.
The attached patch should fix those error messages, if, for example,
PR_SET_CHILD_REAPER is
not yet implemented due to an older kernel.
BTW the REQUIREMENTS section in the README still has Linux kernel >= 2.6.39 in
it. May be it
should at least be updated to reflect a *recommended* version of Linux kernel
>= 3.4?
Because the messages I just tried to fix are log_error() and not log_warning().
Best,
Marius Tolzmann
Marius Tolzmann (1):
main: fix error message if PR_SET_CHILD_REAPER is not available
src/core/main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--
1.7.5.2
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel