From 389f9bf2cf32df8235959a3693e0f9b3379d53ec Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 25 Oct 2018 18:13:55 +0900 Subject: [PATCH] udev: include error cause of parsing --children-max option in log message --- src/udev/udevd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 4f93ec4c9ad..2564295ef05 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -1546,7 +1546,7 @@ static int parse_argv(int argc, char *argv[]) { case 'c': r = safe_atou(optarg, &arg_children_max); if (r < 0) - log_warning("Invalid --children-max ignored: %s", optarg); + log_warning_errno(r, "Failed to parse --children-max= value '%s', ignoring: %m", optarg); break; case 'e': r = parse_sec(optarg, &arg_exec_delay_usec);